A simple PHP task runner based on Iterators