|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #11054 not a but, but feature request
Submitted: 2001-05-23 11:35 UTC Modified: 2001-05-23 12:18 UTC
From: hysteric at skynet dot be Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.0.4 OS: win NT 4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: hysteric at skynet dot be
New email:
PHP Version: OS:


 [2001-05-23 11:35 UTC] hysteric at skynet dot be
No where in my book or on a site i can find some easy way to get the current script line.

E.g.: if i have some error, i'd like to display on wich line in the php file it has happend.

$query="update ...;";
 or die("Error on line xxx of script myscript.php");



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-23 11:37 UTC]
The __FILE__ constant contains the current line of the file.
 [2001-05-23 12:18 UTC]
Errr, the __FILE__ is for the filename, __LINE__ is for the line number.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 24 12:01:28 2024 UTC