#10521 [Com]: Referencing a variable without setting its contents
| From: | leather-wilson1276 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:01:36 +0000 |
| Subject: | #10521 [Com]: Referencing a variable without setting its contents | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62814@lists.php.net to get a copy of this message | ||
ID: 10521
Comment by: leather-wilson1276 at hotmail dot com
Reported By: timl at tech-binary dot com dot au
Status: Bogus
Bug Type: IIS related
Operating System: Win2K Server
PHP Version: 4.0.4pl1
New Comment:
<a href=http://4u-nakedspecialporn.da.ru>leather
wilson</a>
Previous Comments:
------------------------------------------------------------------------
[2001-04-30 05:35:58] cynic@php.net
Well, you probably used php.ini-dist for Apache, and php.ini-optimized
for IIS. Either way, send further questions to
php-general@lists.php.net or php-windows@lists.php.net.
------------------------------------------------------------------------
[2001-04-30 05:04:54] timl at tech-binary dot com dot au
>> I bet the Apache box has error_reporting E_ALL &~ E_NOTICE while the
IIS box has
error_reporting E_ALL.
How can I check this or set it the same as Apache? Both versions of
Apache and IIS are the default installations, so nothing to my
knowledge has been modified in this area.
------------------------------------------------------------------------
[2001-04-30 03:17:41] cynic@php.net
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)
------------------------------------------------------------------------
[2001-04-27 02:03:00] timl at tech-binary dot com dot 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=10521&edit=1