如何将大写的html实体字符转换为小写?
$str = "É"; //É $res = strtolower( $str ); echo $res;
$str = "É"; //É $res = mb_strtolower(html_entity_decode($str,ENT_COMPAT|ENT_HTML401,'UTF-8'),'UTF-8' ); echo $res;