Answers for "how to use str_replace in php 2 times in a line"

PHP
2

php str_replace multiple

str_replace(array(':', '\\', '/', '*'), ' ', $string);
Posted by: Guest on October-09-2020
1

php str_replace multiple

print str_replace(
    array("search1","search2"),
    array("replace1", "replace2"),
    "search1 search2"
);
Posted by: Guest on October-09-2020

Code answers related to "how to use str_replace in php 2 times in a line"

Browse Popular Code Answers by Language