1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-01-17 21:49:22 +01:00

Correction to variable output of var_dump()

This commit is contained in:
Afaq 2013-08-25 11:49:49 -04:00
parent ef0601bab5
commit 7af1a853d4

View File

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