PHP 4.0 Bug #8975: modulo (%) sets the ritht operator to the result

From: Date: Mon, 29 Jan 2001 07:29:20 +0000
Subject: PHP 4.0 Bug #8975: modulo (%) sets the ritht operator to the result
Groups: php.dev 
Request: Send a blank email to php-dev+get-45261@lists.php.net to get a copy of this message
From: ben@stonehenge-net.com 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

« previous php.dev (#45261) next »