Re: Warnings in include files suddenly treated as fatal
| From: | Rasmus Lerdorf | Date: | Fri, 30 Jan 2004 17:37:24 +0000 |
| Subject: | Re: Warnings in include files suddenly treated as fatal | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7429@lists.php.net to get a copy of this message | ||
On Fri, 30 Jan 2004, Ilia Alshanetsky wrote:
> For include situation we need to see if the error is due to the file not being
> there, in which case we can go forward with execution, or if the problem was
> due to a parse error, in which case we need to stop. The easiest way I saw of
> doing it (without modifying too much existing code) was to perform a
> zend_stream_open(), which would check if the file is avaliable.
Since this only happens on an error condition I guess it is ok. Just
seems like we should be able to set some kind of hint in Zend to pass
this information back up.
-Rasmus