From:             daniel dot gorski at develnet dot org
Operating system: Linux RH6.2
PHP version:      5CVS-2003-03-04 (dev)
PHP Bug Type:     Scripting Engine problem
Bug description:  Undefined variable: _ENV, vanished superglobals

[EMAIL PROTECTED]:/src/php5/sapi/cli> ./php -v
PHP 5.0.0-dev (cli) (built: Mar  4 2003 08:43:46)
Copyright (c) 1997-2003 The PHP Group
Zend Engine v2.0.0-dev, Copyright (c) 1998-2003 Zend Technologies

[EMAIL PROTECTED]:/src/php5/sapi/cli> ./php -i | head -16
phpinfo()
PHP Version => 5.0.0-dev

System => Linux warpcore 2.2.20 #12 Mon Feb 10 17:14:10 CET 2003 i686
Build Date => Mar  4 2003 08:39:51
Configure Command =>  './configure' '--enable-force-cgi-redirect'
'--with-mysql=/usr/local/mysql' '--with-config-file-path=../conf'
'--with-zlib'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => ../conf
PHP API => 20020918
PHP Extension => 20020429
Zend Extension => 90021012
Debug Build => no
Thread Safety => disabled
Registered PHP Streams => php, http, ftp, compress.zlib

[EMAIL PROTECTED]:/src/php5/sapi/cli> ./php 
<?php
  error_reporting(E_ALL);
  print_r($_ENV);
?>
Notice: Undefined variable:  _ENV in - on line 3

The same goes for $_SERVER (in CGI version). Latest HEAD on RH6.2 Linux.

regards dtg

-- 
Edit bug report at http://bugs.php.net/?id=22531&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22531&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22531&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22531&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22531&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22531&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22531&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22531&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22531&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22531&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22531&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22531&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22531&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22531&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22531&r=gnused

Reply via email to