Re: Lazy evaluation?
| From: | Bogdan Stancescu | Date: | Wed, 16 Jan 2002 15:36:57 +0000 |
| Subject: | Re: Lazy evaluation? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-80730@lists.php.net to get a copy of this message | ||
LOL! He asked if PHP supports lazy evaluation, not buggy evaluation!
Bogdan
Miles Thompson wrote:
> SHWLHAP! (Sound of dead fish hitting me in the side of the head.)
>
> Of course - if the first condition is false, PHP doesn't bother to evaluate
> the second argument.
> I was thinking that if the first condition is true I don't want evaluation
> to stop there.
>
> Miles