3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo pack('H*', '€');
based on f5kXe
Output for 4.3.2 - 7.2.6
Warning: pack(): Type H: illegal hex digit � in /in/GV77P on line 3 Warning: pack(): Type H: illegal hex digit � in /in/GV77P on line 3 Warning: pack(): Type H: illegal hex digit � in /in/GV77P on line 3
Output for 4.3.0 - 4.3.1
Warning: pack() [http://www.php.net/function.pack]: Type H: illegal hex digit � in /in/GV77P on line 3 Warning: pack() [http://www.php.net/function.pack]: Type H: illegal hex digit � in /in/GV77P on line 3 Warning: pack() [http://www.php.net/function.pack]: Type H: illegal hex digit � in /in/GV77P on line 3