Variables can store data of different types, and different data types can do different things.
PHP supports the following data types:
- String
- Integer
- Float (floating point numbers - also called double)
- Boolean
- Array
- Object
- NULL
- Resource
Example:
<?php
$x = 10;
var_dump($x);
?>
Reference
http://php.net/manual/en/language.types.php
Follow Us with Facebookhttps://www.facebook.com/pages/PHP-Tutorial/782239958529506
Follow Us with Community
https://plus.google.com/u/0/communities/114561263578827044612
Subscribe Our Channel
Subscribe Our Channel
