<?php
echo "Php max int: ".PHP_MAX_INT."\n";
echo "The Val: ".(-1580033017 + -2072974554)."\n";
echo "Intval of the val: ".intval(-3653007571)."\n";
echo "And 0xffffffff of the val: ".(-3653007571 & 0xffffffff)."\n";
Fatal error: Uncaught Error: Undefined constant "PHP_MAX_INT" in /in/9fJft:3
Stack trace:
#0 {main}
thrown in /in/9fJft on line 3
Process exited with code 255.
Warning: Use of undefined constant PHP_MAX_INT - assumed 'PHP_MAX_INT' (this will throw an Error in a future version of PHP) in /in/9fJft on line 3
Php max int: PHP_MAX_INT
The Val: -3653007571
Intval of the val: -3653007571
And 0xffffffff of the val: 641959725
Notice: Use of undefined constant PHP_MAX_INT - assumed 'PHP_MAX_INT' in /in/9fJft on line 3
Php max int: PHP_MAX_INT
The Val: -3653007571
Intval of the val: -3653007571
And 0xffffffff of the val: 641959725