PHP Tutorial – PHP Basic Data types

PHP Basic Data types

The table shows the simple data types in PHP.


PHP can automatically determine the type of variable depending on its value.
In PHP a variable does not need to be declared before being set.

PHP is loosely typed: it means you can change a variable’s data type at any time.



, , ,

Post navigation

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.