I'm trying to some mathematics in PHP to decrypt a server's bytes, but I cannot seem to use integers exactly the same way I can in Java. Here's an example.
echo intval(-690939880 * 134775813);
This current example prints out -2092836736. This value is almost correct. In Java, however, it outputs the value I want.
System.out.println(-690939880 * 134775813);
The value outputted here is -2092836744. How can I replicate this equation in PHP so that it works?
I want the value to overflow, like above.