Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c
| From: | Jon Parise | Date: | Mon, 26 Jan 2004 00:06:44 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c | ||
| References: | 1 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-2257@lists.php.net to get a copy of this message | ||
On Sun, Jan 25, 2004 at 11:54:12PM -0000, Ilia Alshanetsky wrote:
> iliaa Sun Jan 25 18:54:12 2004 EDT
>
> Modified files:
> /ZendEngine2 zend_execute.c
> Log:
> Fixed bug #26814 (On parse error include included file, terminate
> execution script).
...
> new_op_array = compile_filename(EX(opline)->op2.u.constant.value.lval, inc_filename
> TSRMLS_CC);
> + if (!new_op_array) {
> + zend_error(E_ERROR, "Parse error inside included file.");
> + }
What do you think about including the name of the included file in the
error message?
--
Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)