3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( mb_convert_encoding( $bin = hex2bin("5c") . "\\", "UTF-8", "SJIS" ), mb_check_encoding($bin, "SJIS"), bin2hex($bin) );

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
163.83 ms | 1874 KiB | 13 Q