I am getting the errors in the script used to perform the Bitwise operations. The same script works fine on PHP4, but gives different results in PHP5.
Here is a sample code, which gives different results on PHP4 and PHP5.
Code: Select all
<?php
$a = 4653896912;
$b = 12;
$a = ($a >> $b);
echo $a;
?>
Thanks.