Recursively replace keys in an array

elkoi

New Member
I can't quite work this out...I was hoping that there would be a default PHP function to do this, but it seems there isn't. The code I've found online seems to not really work for my situation, since often people have only need to the modify array values and not their keys.I basically need a recursive function that replaces every key that starts with a '_' with the same key without that symbol....Has anybody here used something similar before?
 
Back
Top