PHP tutorial – Data types upon initialization
Author :
mohit
Blog :Mohit Kumar
Date: 1/10/2012 4:06:21 PM
This is a basic program that will help you understand that whenever we initialize any variable in PHP its type is set to NULL.
<?php
$foo;
echo gettype($foo);
?>