3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( mb_convert_encoding( $bin = hex2bin("9dc8f1d78bc795afe3e0f844e0c0eef08d4df349"), "UTF-8", "SJIS-Mobile#DOCOMO" ), mb_check_encoding($bin, "SJIS-Mobile#DOCOMO") );
Output for 8.1.0 - 8.1.13, 8.2rc1 - rc3
string(30) "敲局扮聰狢ⅱ庚" bool(true)
Output for 7.4.0 - 7.4.33, 8.0.1 - 8.0.26
string(30) "敲⏖局扮聰⡨狢ⅱ庚Ⓛ" bool(false)

preferences:
31.67 ms | 410 KiB | 5 Q