mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Fix typo
This commit is contained in:
parent
17c69eeb16
commit
a3476993b1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user