[]]); exit; } $raw = file_get_contents($path); echo $raw !== false && $raw !== '' ? $raw : json_encode(['data' => []]);