3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = '406429c28f5c28f6'; $num = unpack('h', $data); var_dump($num);
Output for 4.4.2 - 4.4.9, 5.1.2 - 7.1.0
array(1) { [1]=> string(1) "4" }
Output for 4.3.5 - 4.4.1, 5.0.0 - 5.1.1
array(1) { [1]=> string(0) "" }
Output for 4.3.0 - 4.3.4
array(1) { [""]=> string(0) "" }