Does anyone have an elegant solution in to provide array access by a period separated string? (So x.y.z as string can be converted to a variable call $a[x][y][z])

It's been asked on stackoverflow, and I have this already. But I'm looking for something like $$var solutions or array_get_key_from_string or something along those lines.

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!