PHP/ZE2 win32 snapshots Bug with Constants
| From: | phpsurf | Date: | Fri, 06 Sep 2002 08:45:02 +0000 |
| Subject: | PHP/ZE2 win32 snapshots Bug with Constants | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-87990@lists.php.net to get a copy of this message | ||
Hi
I tried the latest windows binaries of PHP with ZE2 built yesterday by Edin
on http://snaps.php.net/win32/ZE2 and there is still a
bug with pre-defined
boolean constants :
when php is used as an apache module (apache 1.3.24)
<?php
var_dump(True);
var_dump(TrUe);
var_dump(False);
var_dump(FaLse);
?>
outputs:
string(4) "True"
string(4) "TrUe"
string(5) "False"
string(5) "FaLse"
instead of:
bool(true)
bool(true)
bool(false)
bool(false)
but what is strange is that when this script is called in command line:
php -f test.php, then it outputs
bool(true)
bool(true)
bool(false)
bool(false)
!!!!!!!!!!!!
> -----Original Message-----
> From: Edin Kadribasic [mailto:edink@proventum.net]
> Sent: jeudi 5 septembre 2002 14:07
> To: php-dev@lists.php.net
> Subject: [PHP-DEV] PHP/ZE2 win32 snapshots available
>
>
> Hello all,
>
> Windows snapshots of the latest version of PHP featuring ZE2 are
> available at:
>
> http://snaps.php.net/win32/ze2/
> or
> http://ftp.proventum.net/pub/php/win32-snapshots/ze2/
>
> Edin
>
>
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
______________________________________________________________________________
Pour mieux recevoir vos emails, utilisez un PC plus performant !
Découvrez la nouvelle gamme DELL en exclusivité sur i (france)
http://www.ifrance.com/_reloc/signedell