Naive data structures written in PHP