3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo "Unsigned and Signed:\n"; $offset = abs(~0xffffffff) + 2 + 4294967295; printf("%u\n",PHP_INT_MAX); printf("%d\n",~$offset);
Output for 5.2.14 - 7.1.0
Unsigned and Signed: 9223372036854775807 -8589934594