php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #49152 Additional value $_SERVER
Submitted: 2009-08-04 13:13 UTC Modified: 2009-08-06 13:24 UTC
From: ruediger dot severit at de dot bertrandt dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 5.3.0 OS: XP
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ruediger dot severit at de dot bertrandt dot com
New email:
PHP Version: OS:

 

 [2009-08-04 13:13 UTC] ruediger dot severit at de dot bertrandt dot com
Description:
------------
It would be nice to have an additional element in the $_SERVER variable which shows the actual line within the script where the command is placed:

e.g:

SOURCE:
print "Debug line $_SERVER['script_line']: $to_be_debugged";

OUTPUT:
Debug line 53: Hello




Reproduce code:
---------------
see description

Expected result:
----------------
see description

Actual result:
--------------
see description

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-08-04 17:42 UTC] scottmac@php.net
See the __LINE__ constant and you'll also find __FILE__ and __DIR__
 [2009-08-06 13:24 UTC] ruediger dot severit at de dot bertrandt dot com
Thank you.
can be closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 02:01:30 2024 UTC