Skip to content

Instantly share code, notes, and snippets.

@ivandoric
Created April 23, 2014 15:12
Show Gist options
  • Save ivandoric/11219318 to your computer and use it in GitHub Desktop.
Save ivandoric/11219318 to your computer and use it in GitHub Desktop.
php: str_ireplace multiple values
<?php
$find = array("vlaue1", "value2", "value3");
$replace = array("replacevalue1","replacevalue2","replacevalue3");
str_ireplace($find,$replace,$string);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment