$entry) { echo "Entry $i: " . ($entry['resource']['resourceType'] ?? '') . "\n"; }