- Output for 8.1.0 - 8.1.30, 8.2.0 - 8.2.24, 8.3.0 - 8.3.12
- string(30) "敲局扮聰狢ⅱ庚" bool(true)
- Output for 7.4.0 - 7.4.33, 8.0.1 - 8.0.30
- string(30) "敲⏖局扮聰⡨狢ⅱ庚Ⓛ" bool(false)
<?php
var_dump(
mb_convert_encoding(
$bin = hex2bin("9dc8f1d78bc795afe3e0f844e0c0eef08d4df349"),
"UTF-8",
"SJIS-Mobile#DOCOMO"
),
mb_check_encoding($bin, "SJIS-Mobile#DOCOMO")
);