Use of undefined constant PHP_SELF - assumed 'PHP_SELF'

From: Date: Mon, 02 Jun 2003 05:09:43 +0000
Subject: Use of undefined constant PHP_SELF - assumed 'PHP_SELF'
Groups: php.general 
Request: Send a blank email to php-general+get-149754@lists.php.net to get a copy of this message
What's the difference (and what's correct)? With the use of error_reporting = E_ALL in php.ini I get an error as mentioned above. In the code I use $_SERVER[PHP_SELF]. Changing this to $_SERVER['PHP_SELF'] report no error but with error_reporting = E_ALL & ~E_NOTICE anything goes. (Apache/2.0.46 (Win32) PHP/4.3.2 on Win2000 pro)

« previous php.general (#149754) next »