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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sitnikov at infonet dot ee
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 02:01:28 2025 UTC