Posted by Cord-Heinrich Pahlmann on 03/08/07 09:59
Hi.
I have following problem after my hoster updated to PHP 5.2.1. I'm not
really sure from what Version the update was done, but it was
definetly something like 5.x.x.
Locally I run XAMPP w/ PHP 4.4.4 and my script runs just fine.
These are the two lines which generate the error.
$return = $sbox0[$b0] + $sbox1[$b1] % pow(2,32) ;
$return = ($return ^ $sbox2[$b2]) + $sbox3[$b3] % pow(2,32);
It doesn't matter what is stored in the sboxes since the error has to
be from the modulo.
I tested if pow(2,32) would generate a zero, but it doesn't. So that
can't be the problem.
I use @() and the script seems to work.
Any suggestions?
[Back to original message]
|