note 111879 added to language.operators.logical
| From: | f dot sylvestris at gmail dot com | Date: | Sun, 07 Apr 2013 22:11:37 +0000 |
| Subject: | note 111879 added to language.operators.logical | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-194373@lists.php.net to get a copy of this message | ||
The lesson I take from this manpage is this: use more parentheses than you think you need.
Seriously, before I read this, I thought assignment had the lowest possible precedence. Of course, I
always parethesize defensively so that I don't have to bother memorizing operator precedences,
but now I'm especially glad I developed that habit.
----
Server IP: 69.147.83.199
Probable Submitter: 70.79.136.155
----
Manual Page -- http://php.net/manual/en/language.operators.logical.php
Edit -- https://master.php.net/note/edit/111879
Del: integrated -- https://master.php.net/note/delete/111879/integrated
Del: useless -- https://master.php.net/note/delete/111879/useless
Del: bad code -- https://master.php.net/note/delete/111879/bad+code
Del: spam -- https://master.php.net/note/delete/111879/spam
Del: non-english -- https://master.php.net/note/delete/111879/non-english
Del: in docs -- https://master.php.net/note/delete/111879/in+docs
Del: other reasons-- https://master.php.net/note/delete/111879
Reject -- https://master.php.net/note/reject/111879
Search -- https://master.php.net/manage/user-notes.php