- Output for 8.1.0 - 8.1.31, 8.2.0 - 8.2.26, 8.3.0 - 8.3.15, 8.4.1 - 8.4.2
- string(30) "桐妲蹊岻y潤缶|㌦勧" bool(true)
- Output for 7.4.0 - 7.4.33, 8.0.1 - 8.0.30
- string(30) "桐妲蹊岻y潤缶|㌦勧" bool(false)
<?php
var_dump(
mb_convert_encoding(
$bin = hex2bin("8bcb9b46e6fc9bac82998f818aca816287b38aa9"),
"UTF-8",
"SJIS-mac"
),
mb_check_encoding($bin, "SJIS-mac")
);