3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(unpack("N", "\xff\xff\xff\xff"));
Output for 4.3.5 - 5.2.0, 5.2.10 - 7.2.0
array(1) { [1]=> int(4294967295) }
Output for 5.2.1 - 5.2.9
array(1) { [1]=> int(-1) }
Output for 4.3.0 - 4.3.4
array(1) { [""]=> int(4294967295) }