[PHP-DEV] Bug #786: Incorrect expression evaluation From: torben <email protected>
Date: 09/25/98

From: torben <email protected>
Operating system: Linux 2.0.33 Slackware
PHP version: 3.0 Latest CVS
PHP Bug Type: Performance problem
Bug description: Incorrect expression evaluation

The following script prints "$foo == 'r'. This happens in both the module
and CGI versions.

<?php
$foo = 0;

if ( $foo == 'r' ) {
   echo "$foo == 'r'\n";
}
?>

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>