holy shit, i can't believe i did that.

sorry to bug you, i will now retire myself shamefully back whence i came
in dishonor.


On 31 Jan 2001, Bug Database wrote:

> ID: 8975
> Updated by: phanto
> Reported By: [EMAIL PROTECTED]
> Old-Status: Feedback
> Status: Closed
> Bug Type: Unknown/Other Function
> Assigned To: 
> Comments:
> 
> use == to compare, = is for assignments
> 
> 
> if(($i % $rowcount) == 0)
> {
>    ....
> }
> 
> 
> harald.
> 
> Previous Comments:
> ---------------------------------------------------------------------------
> 
> [2001-01-29 19:08:57] [EMAIL PROTECTED]
> 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
> 
> ---------------------------------------------------------------------------
> 
> [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]

Reply via email to