note 119385 added to language.operators.logical
| From: | moschris at gmail dot com | Date: | Tue, 24 May 2016 17:31:59 +0000 |
| Subject: | note 119385 added to language.operators.logical | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-205584@lists.php.net to get a copy of this message | ||
Unlike C++ and related languages, side effects in the left operand may NOT be used in the right
operand.
e.g. if ($a=1 && $a>0)
will produce an unassigned error if $a has not previously been assigned a value.
----
Server IP: 72.52.91.14
Probable Submitter: 2.103.10.125
----
Manual Page -- http://php.net/manual/en/language.operators.logical.php
Edit -- https://master.php.net/note/edit/119385
Del: integrated -- https://master.php.net/note/delete/119385/integrated
Del: useless -- https://master.php.net/note/delete/119385/useless
Del: bad code -- https://master.php.net/note/delete/119385/bad+code
Del: spam -- https://master.php.net/note/delete/119385/spam
Del: non-english -- https://master.php.net/note/delete/119385/non-english
Del: in docs -- https://master.php.net/note/delete/119385/in+docs
Del: other reasons-- https://master.php.net/note/delete/119385
Reject -- https://master.php.net/note/reject/119385
Search -- https://master.php.net/manage/user-notes.php