3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( $conv = mb_convert_encoding( $bin = hex2bin("ffb383"), "UTF-8", "GB18030" ), mb_check_encoding($bin, "GB18030"), bin2hex(mb_convert_encoding($conv, "GB18030", "UTF-8")) );

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
180.58 ms | 1876 KiB | 13 Q