3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(pack("NCC",123456789, 123456789123456789, 1)); var_dump(pack("NQC",123456789, 123456789123456789, 1));
Output for 5.6.3 - 7.2.0
string(6) "[�" string(13) "[�_ЬK��"
Output for 4.3.2 - 5.6.2
string(6) "[�" Warning: pack(): Type Q: unknown format code in /in/QCM91 on line 3 bool(false)
Output for 4.3.0 - 4.3.1
string(6) "[�" Warning: pack() [http://www.php.net/function.pack]: Type Q: unknown format code in /in/QCM91 on line 3 bool(false)