EmptyIterator::key
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
The key() method
Description
EmptyIterator::key(): never
This function must not be called. It throws an exception upon access.
Func
Parameters Parameters
Errors/Exceptions
Throws an Exception if called.
Return Values
Void