Re: [PHP] Help with variable variables not being set for a multi-dimensional array

2010-11-10 Thread David Harkness
On Tue, Nov 9, 2010 at 6:55 PM, Daevid Vincent wrote: > I've used variable variables before but for some reason I can't figure this > snippet out. Why doesn't $ini_file get set (or appended to). > AFAIK variable variables can only reference actual variables--not array subscripts or other non-var

[PHP] Help with variable variables not being set for a multi-dimensional array

2010-11-09 Thread Daevid Vincent
I've used variable variables before but for some reason I can't figure this snippet out. Why doesn't $ini_file get set (or appended to). Is there a better more elegant solution to parsing these keys and splitting them into sub-array keys as you see what I'm trying to do. I was thinking some recursi