Read string explicitly as an Array - PHP

1

Next I need to transform the string below into a multidimensional vector:

 $tesste = "[ ['Faturamento', 32000, '2017-05-23',[ 'Tes-OBI' => 'TESTE']],['Faturamento', 50000, '2017-05-24',[ 'Tes-OBI' => 'TESTE']]]";

Is there any logic or function that I can use to make the $ tesste variable become an array respecting key dimensions []

Note that the 'TES-OBI' part is an array inside another.

    
asked by anonymous 23.05.2017 / 22:24

0 answers