3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(unpack('q*',pack('q*', PHP_INT_MAX+2)));
based on lVrUt
Output for 5.6.3 - 7.3.1
array(1) { [1]=> int(-9223372036854775808) }
Output for 5.3.15 - 5.6.2
Warning: pack(): Type q: unknown format code in /in/RGLeW on line 3 Warning: unpack(): Invalid format type q in /in/RGLeW on line 3 bool(false)