3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $binarydata = "\x32\x42\x00\xa0"; $array = unpack("n", $binarydata); var_dump($array);
Output for 4.3.5 - 7.1.0
array(1) { [1]=> int(12866) }
Output for 4.3.0 - 4.3.4
array(1) { [""]=> int(12866) }