PsiloMan

Concatenation is optimisation

Code gems ·

$content = str_replace('{#(Pr@uT[};MR;', "\r\n".';MR;', $content);
$content = str_replace('{#(Pr@uT[};MME;', "\r\n".';MME;', $content);
$content = str_replace('{#(Pr@uT[};MLLE;', "\r\n".';MLLE;', $content)

Concatenating “\r\n” with ‘;MR;’ optimises the execution of the PHP script. I would have written:

$content = str_replace('{#(Pr@uT[};MR;', "\r\n;MR;", $content);
$content = str_replace('{#(Pr@uT[};MME;', "\r\n;MME;", $content);
$content = str_replace('{#(Pr@uT[};MLLE;', "\r\n;MLLE;", $content)

But I am only self-taught.