3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(ord("ÿ") . "\n" . pack('H*', chr(195)));
Output for 4.3.2 - 5.6.28, 7.0.0 - 7.1.0
Warning: pack(): Type H: illegal hex digit � in /in/RVlUj on line 3 string(5) "195 "
Output for hhvm-3.10.0 - 3.12.0
Warning: Invalid argument: Type H: illegal hex digit � in /in/RVlUj on line 3 string(5) "195 "
Output for 4.3.0 - 4.3.1
Warning: pack() [http://www.php.net/function.pack]: Type H: illegal hex digit � in /in/RVlUj on line 3 string(5) "195 "