summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam Bard <github@adambard.com>2013-08-27 20:50:48 -0700
committerAdam Bard <github@adambard.com>2013-08-27 20:50:48 -0700
commitb1daee25879f66fa4a091752ed9b17a3caed58e0 (patch)
tree68666da7a83f0dffcb05fcda5eaec33d1002483c
parent598fe61e1a9968eb633d97ef214b01c7d3f0d942 (diff)
parent7af1a853d474fce4feae2429d5e194649fc59105 (diff)
Merge pull request #280 from afaqurk/phpDocumentationUpdate
PHP documentation update
-rw-r--r--php.html.markdown5
1 files changed, 5 insertions, 0 deletions
diff --git a/php.html.markdown b/php.html.markdown
index 083574ee..1cc6d2c5 100644
--- a/php.html.markdown
+++ b/php.html.markdown
@@ -176,6 +176,11 @@ $y = 0;
echo $x; // => 2
echo $z; // => 0
+// Dumps type and value of variable to stdout
+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 )
/********************************
* Logic