3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(unpack('n', ''));
Output for 4.3.2 - 7.1.0
Warning: unpack(): Type n: not enough input, need 2, have 0 in /in/hhPSn on line 3 bool(false)
Output for 4.3.0 - 4.3.1
Warning: unpack() [http://www.php.net/function.unpack]: Type n: not enough input, need 2, have 0 in /in/hhPSn on line 3 bool(false)