From:             [EMAIL PROTECTED]
Operating system: Win2K Server
PHP version:      4.0.4pl1
PHP Bug Type:     IIS related
Bug description:  Referencing a variable without setting its contents

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.

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to