Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c
| From: | Jon Parise | Date: | Mon, 26 Jan 2004 00:28:57 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c | ||
| References: | 1 2 3 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-2259@lists.php.net to get a copy of this message | ||
On Sun, Jan 25, 2004 at 07:12:13PM -0500, Ilia Alshanetsky wrote:
> > What do you think about including the name of the included file in the
> > error message?
>
> Not needed, because the parse error will already indicate which line & line
> the error had occured on.
True, but I was thinking it might be nice to mention that file that
failed to be included, as well. Because it's a compilation failure,
the error is in the included file, not the including file. And the
filename is readily available in this context (as inc_filename, I
believe).
Just a suggestion; I don't feel exceptionally strongly either way.
--
Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)