Here:
function mo31385a($str, $str2, $str3)
{
$cArr = array();
for ($i = 0; $i < strlen($str); $i++)
{
$charAt = $str[$i];
$indexOf = strpos($str2,$charAt);
if (!$indexOf)
{
$cArr[] = $charAt;
continue;
}
$cArr[] = $str3[$indexOf];
}
return implode("",$cArr);
}
0
solved helpe to convert from java to php [closed]