PHP implementation of Language Integrated Query (LINQ)