Re: Re: Fwd: ZEND_VERIFY_RESOURCE() question
| From: | Ilia Alshanetsky | Date: | Wed, 04 Feb 2004 20:34:42 +0000 |
| Subject: | Re: Re: Fwd: ZEND_VERIFY_RESOURCE() question | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7578@lists.php.net to get a copy of this message | ||
On February 04, 2004 03:28 pm, Sterling Hughes wrote:
> > So today you have places that require you to do:
> > $ret = func_call();
> > if ($ret !== NULL && $ret !== false) ....
>
> or
>
> if ($ret)
That's not always possible since the function could return 0 or "" and trigger
an error condition when there isn't one.
Ilia