Creating a complex nested array key

Before giving you a solution, I am bound to ask about the prerequisites of this question.

Where this string with all the keys is coming from and what is the context of this task? Why do you need to assign a value this way?