Implementation of several data structures in PHP.