PHP Recursive str_replace: replaceTree
Working with trees
A collection of 3 posts
Working with trees
Working With Trees
I recently faced a programming challenge that almost broke my brain. I needed to create a function that could explode any single-dimensional array into a full blown tree structure, based on the delimiters found in it's keys. Tricky part was...