3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print mb_detect_encoding(hex2bin('c0206c61206d6169736f6e')) . "\n";
Output for 5.4.0 - 7.3.0rc4
Output for 5.0.0 - 5.3.29
Fatal error: Call to undefined function hex2bin() in /in/HWr0A on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: hex2bin() in /in/HWr0A on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: hex2bin() in /in/HWr0A on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: hex2bin() in /in/HWr0A on line 2