0

I'm using this function to replace utf8 representing numbers in text to convert them to normal digits (PHP),
I'm wondering if this is optimized code since this is using two str_replace()s
public static function convertArabicNumbers($string) {
//$engish = array(0,1,2,3,4,5,6,7,8,9);
$per...