#49152 [Bgs]: Additional value $_SERVER

From: Date: Thu, 06 Aug 2009 13:24:11 +0000
Subject: #49152 [Bgs]: Additional value $_SERVER
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-140725@lists.php.net to get a copy of this message
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] scottmac@php.net 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

« previous php.bugs (#140725) next »