mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
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:
parent
48e1363b9d
commit
384bff9494
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
?>
|
||||
]]>
|
||||
|
|
Loading…
Reference in a new issue