Quote:
Originally Posted by alexstapleton
I imagine something like the solution used in zeroFill to fix shift right may work.
|
It comes to my mind, too.. but since PHP is using 64 bits for handling of floating point operations, I believe that (int)fmod($ch,13) instead $ch%13 is safe enought.