0
php string struggle
how to change "hello world" become "hellloowrld" "iron man and mooglie" become "iirooonnmmaadgle" the idea is to sort each character by each time it come first help me!
6 ответов
+ 2
There might be better solutions
https://code.sololearn.com/wu8H3BRiOoy5/?ref=app
+ 1
Thank you so much guys😄😄😄
0
What is $newtext . Mean?? Mystic Life
0
I guess you are asking about .=
It is making code shorter and simpler
$a .= $b; means
$a = $a.$b;
Check this page for details
https://www.php.net/manual/en/language.operators.assignment.php
0
Ok thank you 😃