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 I can use so that the $tesste variable becomes an array respecting the dimensions of the keys []
note that in the 'TES-OBI' part is an array within another.
wouldn’t it be possible to return a json instead of the structure in this format? php works much better with json-like structures
– Antonio