Simple data structures implemented in PHP