Date: 12/21/00
- Next message: samuel.blume <email protected>: "[PHP-DEV] PHP 4.0 Bug #8348 Updated: $val = TRUE AND FALSE; // Will always give TRUE !!"
- Previous message: colin <email protected>: "[PHP-DEV] PHP 4.0 Bug #7503 Updated: scripts run from CGI output "#!/usr/local/bin/php -q" line"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: samuel.blume <email protected>
Operating system: Linux SUSE 7.0
PHP version: 4.0.3pl1
PHP Bug Type: Scripting Engine problem
Bug description: $val = TRUE AND FALSE; // Will always give TRUE !!
Folling is unusual:
$val = TRUE AND FALSE; //Will always give TRUE !!
var_dump($val); // = bool(false)
using () will have the right effect
$val = (TRUE AND FALSE);
var_dump($val); // = int(0)
-- Edit Bug report at: http://bugs.php.net/?id=8348&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: samuel.blume <email protected>: "[PHP-DEV] PHP 4.0 Bug #8348 Updated: $val = TRUE AND FALSE; // Will always give TRUE !!"
- Previous message: colin <email protected>: "[PHP-DEV] PHP 4.0 Bug #7503 Updated: scripts run from CGI output "#!/usr/local/bin/php -q" line"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

