php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4063 Parser when detect error display wrong script name and line when it found error
Submitted: 2000-04-06 16:27 UTC Modified: 2001-04-29 12:09 UTC
From: sitnikov at infonet dot ee Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Release Candidate 1 OS: windows 2000
Private report: No CVE-ID: None
 [2000-04-06 16:27 UTC] sitnikov at infonet dot ee
I have 3 scripts common.inc.php,public.inc.php,index.php


common.inc.php 
<? require("public.inc.php");
.....
 $a =  //line 296
?>

index.php
<? require("common.inc.php");?>

In browser we can see
Parse error: parse error in public.inc.php3 on line 556

public.inc.php have 293 line



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-23 14:18 UTC] stas at cvs dot php dot net
does this still happen in latest version?
 [2000-08-15 09:51 UTC] waldschrott@php.net
this is a dup
 [2001-04-29 12:09 UTC] jmoore@php.net
this should be fixed in CVS if not please reopen.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 06:01:35 2024 UTC