ID:               49152
 Updated by:       [email protected]
 Reported By:      ruediger dot severit at de dot bertrandt dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Feature/Change Request
 Operating System: XP
 PHP Version:      5.3.0
 New Comment:

See the __LINE__ constant and you'll also find __FILE__ and __DIR__


Previous Comments:
------------------------------------------------------------------------

[2009-08-04 13:13:24] 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


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=49152&edit=1

Reply via email to