3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(pack('H*', 'test'));
Output for 4.3.2 - 7.2.0
Warning: pack(): Type H: illegal hex digit t in /in/74DlO on line 3 Warning: pack(): Type H: illegal hex digit s in /in/74DlO on line 3 Warning: pack(): Type H: illegal hex digit t in /in/74DlO on line 3 string(2) ""
Output for 4.3.0 - 4.3.1
Warning: pack() [http://www.php.net/function.pack]: Type H: illegal hex digit t in /in/74DlO on line 3 Warning: pack() [http://www.php.net/function.pack]: Type H: illegal hex digit s in /in/74DlO on line 3 Warning: pack() [http://www.php.net/function.pack]: Type H: illegal hex digit t in /in/74DlO on line 3 string(2) ""