Search Results
Aug 4, 2020 · The current() method
PHP Manual Function Reference Other Basic Extensions SPL Iterators EmptyIterator EmptyIterator EmptyIterator::current EmptyIterator::key EmptyIterator::next EmptyIterator::rewind EmptyIterator::valid EmptyIterator EmptyIterator::key EmptyIterator::current (PHP 5 >= 5.1.0) EmptyIterator::current — The current () method
Class synopsis EmptyIteratorimplements Iterator { /* Methods */ public current ( void ) : mixed public key ( void ) : scalar public next ( void ) : void public rewind ( void ) : void public valid ( void ) : bool }
EmptyIterator::current (PHP 5 >= 5.1.0, PHP 7) EmptyIterator::current — The current() method Description public EmptyIterator::current ( ) : mixed This function must not be called. It throws an exception upon access. WarningThis function is currently not documented; only its argument list is available. Parameters This function has no parameters. Errors/Exceptions Throws an Exception if ...
Hier findest Du alles rund um PHP Class synopsis classEmptyIteratorimplements Iterator { /* Methods */ public current (): never public key (): never public next (): void public rewind (): void public valid (): bool }
French translation of the PHP documentation. Contribute to php/doc-fr development by creating an account on GitHub.
DirectoryIterator::rewind — Rewind the DirectoryIterator back to the start DirectoryIterator::seek — Seek to a DirectoryIterator item DirectoryIterator::__toString — Get file name as a string DirectoryIterator::valid — Check whether current DirectoryIterator position is a valid file EmptyIterator — The EmptyIterator class
