I have an string array structured like this:
[
[
//Amount of elements can vary
"item",
"item",
"item"
],
[
//Amount of elements can vary
"item",
"item",
//Amount of these nested arrays can vary
[
"item",
11
],
[
"item",
11
],
"item",
"time"
]
]
I tried casting the string variable with (array) but to avail. I have no idea how to get php to read it as an array. I also exploded the "[" and cast each element in that array to (array). That improved the situation but it was still unusable.