3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( mb_convert_encoding( $bin = hex2bin("82ad9951"), "UTF-8", "SJIS-2004" ), mb_check_encoding($bin, "SJIS-2004") );

preferences:
33.86 ms | 407 KiB | 5 Q