summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAfaq <afaq05@gmail.com>2013-08-25 11:49:49 -0400
committerAfaq <afaq05@gmail.com>2013-08-25 11:49:49 -0400
commit7af1a853d474fce4feae2429d5e194649fc59105 (patch)
tree68666da7a83f0dffcb05fcda5eaec33d1002483c
parentef0601bab5c3f7f57e584594fc34da87cf8cce9c (diff)
Correction to variable output of var_dump()
-rw-r--r--php.html.markdown2
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 )