+ -
当前位置:首页 → 问答吧 → P85

P85

时间:2007-09-08

来源:互联网

P85
$str = htmlentities("Einstürzende Neubauten");  // now it is encoded

    $table = get_html_translation_table(HTML_ENTITIES);
    $rev_trans = array_flip($table);

    echo strtr($str,$rev_trans);  // back to normal
    Einst Ürzende Neubauten

红色部分在我电脑上的输出应该是(空格的BUG已经有人找出了)
Einstürzende Neubauten

Ü应该是ü

作者: 布鲁塞尔浮木   发布时间: 2007-09-08

热门下载

更多