diff options
author | Afaq <afaq05@gmail.com> | 2013-08-25 11:49:49 -0400 |
---|---|---|
committer | Afaq <afaq05@gmail.com> | 2013-08-25 11:49:49 -0400 |
commit | 7af1a853d474fce4feae2429d5e194649fc59105 (patch) | |
tree | 68666da7a83f0dffcb05fcda5eaec33d1002483c /php.html.markdown | |
parent | ef0601bab5c3f7f57e584594fc34da87cf8cce9c (diff) |
Correction to variable output of var_dump()
Diffstat (limited to 'php.html.markdown')
-rw-r--r-- | php.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php.html.markdown b/php.html.markdown index 1a07777a..1cc6d2c5 100644 --- a/php.html.markdown +++ b/php.html.markdown @@ -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 ) |