3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{ "client_id": 1234, "rawdata": [{ "task_id1": { "apikey1": "1234", "flow": "ssp", "total_chocolate_request": 43235, "start_time": "2017 - 05 - 09 12: 29: 00 UTC", "end_time": "2017 - 05 - 09 12: 29: 00 UTC" }, "task_id2": { "apikey2": "1235", "flow": "mobileweb", "total_chocolate_request": 43235, "start_time": "2017 - 05 - 09 12: 29: 00 UTC", "end_time": "2017 - 05 - 09 12: 29: 00 UTC" } }]}'; $parsed = json_decode($json, true); foreach($parsed['rawdata'] as $v){ print_r($v); echo PHP_EOL; }

preferences:
45.46 ms | 1568 KiB | 5 Q