EmptyIterator::key (PHP 5 >= 5.1.0, PHP 7, PHP 8)EmptyIterator::key — The key() method 说明 public EmptyIterator::key(): never This function must not be called. It throws an exception upon access. 警告本函数还未编写文档,仅有参数列表。 参数 此函数没有参数。 错误/异常 Throws an Exception if called. 返回值 没有返回值。