I have this string - [1-2][2-0][5-6] and want to map this string with array to get following array like this -
Array
(
[1-2] => Array
(
[2-0] => Array
(
[5-1] => hello
)
)
)
please help me how to do that.