Php list collection rotation array

for example:

Collection: [["1"], ["1", "2"]

excuse me, how can I convert to an array that php can use?

Aug.27,2021

php5.3 and previous versions cannot use square brackets to define arrays, but since 5.3, they can be used to define arrays, so [["1"], ["1", "2"] are all arrays after php5.3

.
Menu