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:
parent
ef0601bab5
commit
7af1a853d4
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user