Re: PHP 4.0 Bug #2762: parse error msg not showing correct location when using "require" or "include"
| From: | Zeev Suraski | Date: | Fri, 19 Nov 1999 14:11:20 +0000 |
| Subject: | Re: PHP 4.0 Bug #2762: parse error msg not showing correct location when using "require" or "include" | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-12764@lists.php.net to get a copy of this message | ||
On 19 Nov 1999 lamy@intergate.bc.ca wrote:
> From: lamy@intergate.bc.ca
> Operating system: Linux
> PHP version: 4.0 Beta 2
> PHP Bug Type: Feature/Change Request
> Bug description: parse error msg not showing correct location when using "require"
> or "include"
>
> When using the functions require or include, the parse error msg will count in the lines of the
> included file and as a result doesn't help to locate where the parse error is in the php
> source.
This generally works, so if you're experiencing a problem, it's unique to
your scripts/setup. Can you please provide a small set of files that
would help us to reproduce the problem?
Zeev
--
-----------------------------------------------------
Zeev Suraski <zeev@zend.com> http://www.zend.com/