From:             [EMAIL PROTECTED]
Operating system: FreeBSD
PHP version:      4.0.4pl1
PHP Bug Type:     Unknown/Other Function
Bug description:  modulo (%) sets the ritht operator to the result

$a = 0;
$b = 2;

$c = $a % $b

print($b)

// $b will be set to 0.  does nasty thing to for loops :)

not really sure what was configured at compiletime, was from the FreeBSD ports 
collection, can dig it up if it's relevant.

same with php.ini.

no gdb, as there's no crash.


-- 
Edit Bug report at: http://bugs.php.net/?id=8975&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
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