ID: 49152 User updated by: ruediger dot severit at de dot bertrandt dot com Reported By: ruediger dot severit at de dot bertrandt dot com Status: Bogus Bug Type: Feature/Change Request Operating System: XP PHP Version: 5.3.0 New Comment:
Thank you. can be closed Previous Comments: ------------------------------------------------------------------------ [2009-08-04 17:42:37] [email protected] See the __LINE__ constant and you'll also find __FILE__ and __DIR__ ------------------------------------------------------------------------ [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
