Bug #10521 Updated: Referencing a variable without setting its contents
| From: | cynic@php.net | Date: | Mon, 30 Apr 2001 07:17:41 +0000 |
| Subject: | Bug #10521 Updated: Referencing a variable without setting its contents | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-53035@lists.php.net to get a copy of this message | ||
ID: 10521
Updated by: cynic
Reported By: timl@tech-binary.com.au
Old-Status: Open
Status: Bogus
Bug Type: IIS related
PHP Version: 4.0.4pl1
Assigned To:
Comments:
I bet the Apache box has error_reporting E_ALL &~ E_NOTICE while the IIS box has error_reporting
E_ALL.
RTFM, please.
(if this ain't the case, reopen the report)
Previous Comments:
---------------------------------------------------------------------------
[2001-04-27 02:03:00] timl@tech-binary.com.au
The following script works in Apache but not in IIS
<?
if ($test=="testval") { print("Success"); }
?>
Apache treats the variable $test as a null variable but IIS throws a error:
Warning: undefined variable test in [script] in line 2
Depending on what follows, it will usually output something like what you were testing for/wanted
except that it has the error in front of it.
This is with the standard PHP windows installer. CGI version.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10521&edit=2