3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(pack('C1C1C1C1C1C1C1C1', '9223372036854775807'));
Output for 5.3.28 - 5.3.29, 5.4.18 - 5.6.28, 7.0.0 - 7.1.0
Warning: pack(): Type C: too few arguments in /in/TNK7Z on line 2 bool(false)
Output for hhvm-3.10.0 - 3.12.0
Warning: Invalid argument: Type C: too few arguments in /in/TNK7Z on line 2 bool(false)
Output for 4.3.2 - 5.3.27, 5.4.0 - 5.4.17
Warning: pack(): Type C: too few arguments in /in/AUAHG on line 2 bool(false)
Output for 4.3.1
Warning: pack() [http://www.php.net/function.pack]: Type C: too few arguments in /in/AUAHG on line 2 bool(false)
Output for 4.3.0
Warning: pack() [http://www.php.net/function.pack]: Type C: too few arguments in /in/TNK7Z on line 2 bool(false)