I have this code :
<?php
$integer = 33963677451;
$integer &= 0xFFFFFFFF;
echo $integer;
?>
But, when I execute it, the output is
-396060917
The same function in Python
if __name__ == '__main__':
integer = 33963677451
integer &= 0xFFFFFFFF
print integer
The output is
3898906379
It seems PHP can't store big variables. Do you guys have any idea how to get the same result in PHP I have in Python ?
Thanks !