Task: CSV to Nested Associative Array in PHP
Task: CSV to Nested Associative Array in PHP: a task in Terminal-Lego-15k (Harbor dataset). Write a PHP script that reads a CSV file and converts it into a nested associative array indexed by the first three columns ( brand , model , part ), with the remaining columns ( price , shipping …
The task
Write a PHP script that reads a CSV file and converts it into a **nested associative array** indexed by the first three columns (`brand`, `model`, `part`), with the remaining columns (`price`, `shipping`, `description`, `footnote`) as the associated values at the deepest level.
Part of PrimeIntellect/Terminal-Lego-15k.