summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam Bard <github@adambard.com>2013-09-19 23:18:28 -0700
committerAdam Bard <github@adambard.com>2013-09-19 23:18:28 -0700
commit55d018b3fed317a4c87f4527347ee291830bc2c0 (patch)
treedb7ebfc94f21b28c68de62cfdb7fa86a2640b75f
parenta62bb8d55321a1b10ebe420bb2d04b446fecc333 (diff)
parenta3476993b1d44ea033967f979dfa022f0fd72429 (diff)
Merge pull request #348 from arnelbucio/patch-1
[php/en] Fix typo
-rw-r--r--php.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/php.html.markdown b/php.html.markdown
index 1952d833..226eefff 100644
--- a/php.html.markdown
+++ b/php.html.markdown
@@ -72,7 +72,7 @@ $quotient = 2 / 1; // 2
$number = 0;
$number += 1; // Increment $number by 1
echo $number++; // Prints 1 (increments after evaluation)
-echo ++$number; // Prints 3 (increments before evalutation)
+echo ++$number; // Prints 3 (increments before evaluation)
$number /= $float; // Divide and assign the quotient to $number
// Strings should be enclosed in single quotes;