<?php
var_dump(
$conv = mb_convert_encoding(
$bin = hex2bin("8ffbce8fefc5a5c88fafaca6fedcf7"),
"UTF-8",
"EUC-JP-2004"
),
mb_check_encoding($bin, "EUC-JP-2004"),
bin2hex(mb_convert_encoding($conv, "EUC-JP-2004", "UTF-8"))
);
- Output for 8.1.0 - 8.1.31, 8.2.0 - 8.2.26, 8.3.0 - 8.3.14, 8.4.1 - 8.4.2
- string(19) "𨯁濞ト㮍ㇿ樸"
bool(true)
string(30) "8ffbce8fefc5a5c88fafaca6fedcf7"
- Output for 7.4.0 - 7.4.33, 8.0.1 - 8.0.30
- string(19) "𨯁濞ト㮍ㇿ樸"
bool(false)
string(28) "8ffbce8fefc5a5c88ea5a6fedcf7"
preferences:
52.59 ms | 407 KiB | 5 Q