#49152 [Opn->Bgs]: Additional value $_SERVER

From: Date: Tue, 04 Aug 2009 17:42:38 +0000
Subject: #49152 [Opn->Bgs]: Additional value $_SERVER
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-140655@lists.php.net to get a copy of this message
 ID:               49152
 Updated by:       scottmac@php.net
 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



Thread (3 messages)

« previous php.bugs (#140655) next »