3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(pack('nvc*', 0x1234));
Output for 5.2.3 - 5.6.28, 7.0.0 - 7.1.0
Warning: pack(): Type v: too few arguments in /in/GGPSE on line 1 bool(false)
Output for hhvm-3.10.0 - 3.12.0
Warning: Invalid argument: Type v: too few arguments in /in/GGPSE on line 1 bool(false)
Output for 4.4.3 - 5.2.2
<br /> <b>Warning</b>: pack() [<a href='function.pack'>function.pack</a>]: Type v: too few arguments in <b>/in/GGPSE</b> on line <b>1</b><br /> bool(false)
Output for 4.3.2 - 4.4.2
<br /> <b>Warning</b>: pack(): Type v: too few arguments in <b>/in/GGPSE</b> on line <b>1</b><br /> bool(false)
Output for 4.3.0 - 4.3.1
<br /> <b>Warning</b>: pack() [<a href='http://www.php.net/function.pack'>function.pack</a>]: Type v: too few arguments in <b>/in/GGPSE</b> on line <b>1</b><br /> bool(false)