Q. Which PHP interface allows objects to be used with foreach without implementing Iterator?
β
Correct Answer: (B)
IteratorAggregate
Explanation: IteratorAggregate returns an external iterator.