Hello,
I have the following string:
// [ { "id": "694653" ,"t" : "Faaf" ,"e" : "652" ,"l" : "279.43" ,"l_cur" : "279.43" } ]
I am trying to using preg_split and regex to capture all characters contained within double quotes and store them into an array. When finished I want an array that looks like this.
Array [0] => id [1] => 694653 [2] => t [3] => Faaf [4] => e [5] => 654 [6] => l [7] => 279.43 [8] => l_cur [9] => 279.43
For the life of me I am unable to conjure up the correct regex to do this. Was curious if anyone could help.
Thanks.
Joe