3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(unpack("L", "\x32\x42\x00\xa0"));
Output for 4.3.5 - 5.2.0, 5.2.10 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(1) { [1]=> int(2684371506) }
Output for 5.2.1 - 5.2.9
array(1) { [1]=> int(-1610595790) }
Output for 4.3.0 - 4.3.4
array(1) { [""]=> int(2684371506) }