ID: 15735 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Variables related Operating System: Windows XP Professional PHP Version: 4.1.1 New Comment:
Here's a good test script for this. Note that a 'undefined variable' is an error of level E_NOTICE, showing these errors depends on the error_reporting directive. error_reporting(E_ALL); // turn our error_reporting up print $undefined; // error (notice) $defined = 1; print $defined; // no error (it's set) Previous Comments: ------------------------------------------------------------------------ [2002-02-26 13:13:33] [EMAIL PROTECTED] "define a variable before the script runs" -> how is that done? ;) ------------------------------------------------------------------------ [2002-02-26 12:48:57] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". ------------------------------------------------------------------------ [2002-02-26 12:40:30] [EMAIL PROTECTED] On Windows XP Professional there is a "Undefined Variable" error even if you define the variable before the script runs. Windows XP Professional build 2600 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15735&edit=1
