preg_replace_callback 简单範例
$S = "増 我 増 増 増 墑 増 墑 ";echo $S = preg_replace_callback( '/&#(\d+);/i', function ($matches) { return mb_convert_encoding($matches[0], 'UTF-8', 'HTML-ENTITIES'); }, $S);``