str_replace in php array code example Example: php replace str_replace ($search, $replace, $subject);