Updated PHP doc to include print_r() and var_dump()

This commit is contained in:
Afaq 2013-08-25 11:43:07 -04:00
parent 598fe61e1a
commit ef0601bab5

View File

@ -176,6 +176,11 @@ $y = 0;
echo $x; // => 2 echo $x; // => 2
echo $z; // => 0 echo $z; // => 0
// Dumps type and value of variable to stdout
var_dumb($z); // prints int(3)
// Prints variable to stdout in human-readable format
print_r($array); // prints: Array ( [0] => One [1] => Two [2] => Three )
/******************************** /********************************
* Logic * Logic