Task: Returning JSON from a PHP Script
Task: Returning JSON from a PHP Script: a task in Terminal-Lego-15k (Harbor dataset). Your task is to create a PHP script that takes an associative array of sample data and returns it as a properly formatted JSON response with the correct HTTP headers.
Part of PrimeIntellect/Terminal-Lego-15k.