PHP class for C# LINQ-style manipulation of PHP arrays