I have a simple code but i cant do it works fine.
$String = 'abc123ABC';
$Replace_From = array("a","b","c","1","2","3","A","B","C");
$Replace_To = array("A","B","C","a","b","c","1","2","3");
$NewString = str_replace($Replace_From, $Replace_To, $String);
echo $NewString;
- The correct result its: ABCabc123
- But my code return this result: 123abc123 !
Thanks you for your help!