Php – AppendIterator doesn't play well with empty generators, how to work around it?
Sometimes, when I have to concatenate multiple iterators into a single one, it is just a single empty iterator. I use AppendIterator for concatenating iterators. When I add an empty Generator from a yielding method to an AppendIterator, I would…