note 65357 added to language.control-structures
| From: | hakumamattatta at osu1 dot php dot net | Date: | Sat, 29 Apr 2006 12:20:59 +0000 |
| Subject: | note 65357 added to language.control-structures | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-110084@lists.php.net to get a copy of this message | ||
To "escape" this lazy (in fact late) evaluation, i.e. if you want all tokens to be
evaluated, you can use bitwise operations, for example in
<?php
if ($condition & somefunction())
//do something
?>
somefunction will be called even if $condition is false.
----
Server IP: 66.163.161.117
Probable Submitter: 83.142.20.26
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/language.control-structures.php
Edit -- http://master.php.net/note/edit/65357
Del: integrated -- http://master.php.net/note/delete/65357/integrated
Del: useless -- http://master.php.net/note/delete/65357/useless
Del: bad code -- http://master.php.net/note/delete/65357/bad+code
Del: spam -- http://master.php.net/note/delete/65357/spam
Del: non-english -- http://master.php.net/note/delete/65357/non-english
Del: in docs -- http://master.php.net/note/delete/65357/in+docs
Del: other reasons-- http://master.php.net/note/delete/65357
Reject -- http://master.php.net/note/reject/65357
Search -- http://master.php.net/manage/user-notes.php