3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump( bin2hex(' ਿਹ')); var_dump(bin2hex('ਹਿ'));
Output for 5.5.0 - 7.3.0rc4
string(14) "20e0a8bfe0a8b9" string(12) "e0a8b9e0a8bf"