How does the str_replace?
Hello, prompt, please, as this function is activated:
echo str_replace('aaabbb', '!', 'abcabc');
The result: "!!!bbb".
I understand, for example how it works:
echo str_replace("Dylan","Bob","good morning Dylan!");
The result will be: "good morning Dima!".
But the first option can not understand.
asked March 23rd 20 at 19:14
Find more questions by tags PHP