summaryrefslogtreecommitdiffhomepage
path: root/php.html.markdown
diff options
context:
space:
mode:
authorArnel Bucio <rnlbucio@gmail.com>2013-09-15 14:15:53 +0800
committerArnel Bucio <rnlbucio@gmail.com>2013-09-15 14:15:53 +0800
commita3476993b1d44ea033967f979dfa022f0fd72429 (patch)
treeed43f64de3d0525a8dfd62fb6eb585975c5a0011 /php.html.markdown
parent17c69eeb16f193b319d2e73cff3ebce55ec744a8 (diff)
Fix typo
Diffstat (limited to 'php.html.markdown')
-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;