#49152 [NEW]: Additional value $_SERVER

From: Date: Tue, 04 Aug 2009 13:13:24 +0000
Subject: #49152 [NEW]: Additional value $_SERVER
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-140642@lists.php.net to get a copy of this message
From:             ruediger dot severit at de dot bertrandt dot com
Operating system: XP
PHP version:      5.3.0
PHP Bug Type:     Feature/Change Request
Bug description:  Additional value $_SERVER

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 bug report at http://bugs.php.net/?id=49152&edit=1
-- 
Try a snapshot (PHP 5.2):            http://bugs.php.net/fix.php?id=49152&r=trysnapshot52
Try a snapshot (PHP 5.3):            http://bugs.php.net/fix.php?id=49152&r=trysnapshot53
Try a snapshot (PHP 6.0):            http://bugs.php.net/fix.php?id=49152&r=trysnapshot60
Fixed in SVN:                        http://bugs.php.net/fix.php?id=49152&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49152&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=49152&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=49152&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=49152&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=49152&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=49152&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=49152&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=49152&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=49152&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=49152&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=49152&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=49152&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=49152&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=49152&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=49152&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=49152&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=49152&r=mysqlcfg



Thread (3 messages)

« previous php.bugs (#140642) next »