php get first element of iterator class

Solutions on MaxInterview for php get first element of iterator class by the best coders in the world