[{"id":123456,"name":"Super IT Store","date":"2021-02-08"},{"id":123457,"name":"Duper IT Store","date":"2021-02-08"}]
Good day! How can I split the data above and store it into respective array and eliminate the punctuation?
Example output needed:
id[0] = 123456
id[1] = 123457
name[0] = "Super IT Store"
name[1] = "Duper IT Store"
I have tried to use preg_match_all
but it seems weird to extract this kind of data because the actual data could be longer than this a lot.