(PHP 5, PHP 7, PHP 8)
IteratorAggregate::getIterator — 獲取一個外部迭代器
返回一個外部迭代器。
此函數沒有參數。
實現(xiàn)了 Iterator 或 Traversable 接口的類的一個實例。
失敗時拋出 Exception。