- json_decode: documentation ( source)
<?php
$json = '{"0":1576,"1":1556,"2":1579,"3":1541,"4":1578,"5":1559,"6":1558,"7":1548,"8":1654,"9":1653,"10":1510,"11":1674}';
$ids = json_decode($json, true);
foreach($ids as $value) {
echo $value.PHP_EOL;
}