Fix typo in comment for example of operator precedence

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346846 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Tyson Andre 2019-02-18 04:55:43 +00:00
parent 48e1363b9d
commit 384bff9494

View file

@ -329,7 +329,7 @@ $x = 4;
echo "x minus one equals " . $x-1 . ", or so I hope\n";
// because it is evaluated like this line:
echo (("x minus one equals " . $x) - 1) . ", or so I hope\n";
// the desired precendence can be enforced by using parentheses:
// the desired precedence can be enforced by using parentheses:
echo "x minus one equals " . ($x-1) . ", or so I hope\n";
?>
]]>