php html ASCII code convert to char
$b="rt.moc.kilsidnehumrikif @ ofni"
$a= preg_replace_callback("/(&#[0-9]+;)/", function($m) { return mb_convert_encoding($m[1], "UTF-8", "HTML-ENTITIES"); },$b);
echo $a;//string
Hiç yorum yok:
Yorum Gönder