Skip to content

snippets

What is CodeForest about?

Quick snip: Recursive find and replace

I often need to replace some characters in a string, and am using str_replace function. But, what if you need to do it in array, and after replacing, you need intact array? This little snippet will help you.