Posts by Wanderson Albuquerque • 11 points
1 post
-
1
votes1
answer47
viewsA: str_replace only replaces the second array
<?php $cod = '192.168.1.1'; $char = '300'; $arrayFind = array('[cod]', '[char]'); $arrayReplace = array($cod, $char); $response = str_replace($arrayFind,…