note 65357 deleted from language.control-structures by bjori
| From: | bjori@php.net | Date: | Sat, 29 Apr 2006 12:31:31 +0000 |
| Subject: | note 65357 deleted from language.control-structures by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-110086@lists.php.net to get a copy of this message | ||
Note Submitter: hakuma mattatta
Reason: bad code
----
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.