hmm... ok, i'll dig out what i actually did. it was in the middle of a for loop, using the counter as the first argument. something like for ( $i = 0; $i < array_count_values($whatever); $i++ ) { print($whatever[$i]); if ( $i % $rowcount = 0) { print("</tr><tr>"); } } and it kept resetting $rowcount to 0 and looping till it ran out of time. i'll dig up the actual code. Bug Database wrote: > ID: 8975 > Updated by: sniper > Reported By: [EMAIL PROTECTED] > Old-Status: Open > Status: Feedback > Bug Type: Unknown/Other Function > Assigned To: > Comments: > > This works for me (tm) just fine. ie. prints 2. > > Could you please try again (with the script below)? > > <?php > > $a = 0; > $b = 2; > > $c = $a % $b; > > print($b); > > ?> > > --Jani > > Previous Comments: > --------------------------------------------------------------------------- > > [2001-01-29 02:29:20] [EMAIL PROTECTED] > $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. > > --------------------------------------------------------------------------- > > Full Bug description available at: http://bugs.php.net/?id=8975 -- 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]