实际上我的预期结果是 - 零০一১二২三৩四৪五৫六৬七৭八৮九৯
但我得到 - 零 &#ý৯;ý৯;3৭;৬;ý৯;ý৯;3৭;ý৯;3৮;; 一个 &#ý৯;ý৯;3৭;৬;ý৯;ý৯;3৭;ý৯;;
两个 ý৯;ý৯;3৭;৬;
三个 ý৯;3৭;
四个 ý৯;3৮;
五个 ý৯;
六৬<br />七৭<br />八৮<br />九৯请帮帮我。编码:
$n=array('0', '1', '2', '3', '4', '5', '6', '7', '8', '9');
$x=array("০", "১", "২", "৩", "৪", "৫", "৬", "৭", "৮", "৯");
$on='O 0
one 1
two 2
three 3
four 4
five 5
six 6
seven 7
eight 8
nine 9';
$converted = nl2br(str_replace($n, $x, $on));
echo $converted;