php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #2762 parse error msg not showing correct location when using "require" or "include"
Submitted: 1999-11-19 12:52 UTC Modified: 2000-06-12 23:48 UTC
From: lamy at intergate dot bc dot ca Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 Beta 2 OS: Linux
Private report: No CVE-ID: None
 [1999-11-19 12:52 UTC] lamy at intergate dot bc dot ca
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-12 23:48 UTC] zeev at cvs dot php dot net
This should be fixed by now.  If you're still experiencing a problem with 4.0.0 or later, please submit a new bug report, and include a small code snippet that reproduces the problem.
Thanks
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Jun 16 21:00:01 2026 UTC