What does this code mean? I haven't understood it for more than an hour. thank you! $ Patt & nbsp; & nbsp ;=& nbsp; array ('_ PUBLIC _', & nbsp; '_ ACTION _', & nbsp; '_ CO help to see what this code means? I haven't understood it for more than an hour. thank you!
$ Patt = array ('_ PUBLIC _', '_ ACTION _', '_ CONTROL _', '_ WEB __', '_ APP __');
$ Replace = array (' ',' ',' ',' ',' ');
$ Content = str_ireplace ('../public ',' ', $ Content );
$ Content = str_replace ($ patt, $ replace, $ content); shared:
------ Solution --------------------
String replacement!
In $ content
Replace _ PUBLIC _
Replace _ ACTION _
Replace _ CONTROL _
_ WEB _ replace
Replace _ APP _
../Replace public
------ Solution --------------------
I cannot understand this. I should go back to the tutorial basics.
------ Solution --------------------
$ Replace = array (' ',' ',' ',' ',' ');
I have never written this way.
------ Solution --------------------
Reference:
$ Replace = array (' ',' ',' ',' ',' ');
I have never written this way.
$ Replace = array (' ',' ','