Help to see what this code means? I haven't read it for 1 hours.
$patt = Array (' __public__ ', ' __action__ ', ' __control__ ', ' __web__ ', ' __app__ ');
$replace = Array (' ', ' ', ' ', ' ', ' ');
$content = Str_ireplace ('.. /public ', ' ', $content);
$content = Str_replace ($patt, $replace, $content);
Share to:
------Solution--------------------
String Substitution!
Put the $content in the
__public__ replaced
__action__ replaced
__control__ replaced
__web__ replaced
__app__ replaced
.. /public replaced
------Solution--------------------
This is not understand, should go back to the remedial foundation
------Solution--------------------
$replace = Array (' ', ' ', ' ', ' ', ' ');
I've never written this before.
------Solution--------------------
Reference:
$replace = Array (', ', ', ', ', ' );
I've never written this before.
$replace = Array (' ', ' ', '