mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-01 04:20:39 +02:00
Correction to variable output of var_dump()
This commit is contained in:
@@ -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 )
|
||||
|
Reference in New Issue
Block a user