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
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: 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

Pull Requests

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: Sat Dec 21 17:01:58 2024 UTC