[Solved] PHP XOR operation two numbers

That is because you re hitting the MAXIMUM INTEGER LIMIT which is 2147483647 From the PHP Docs… The maximum value depends on the system. 32 bit systems have a maximum signed integer range of -2147483648 to 2147483647. So for example on such a system, intval(‘1000000000000’) will return 2147483647. The maximum signed integer value for 64 … Read more