Search Results

  1. MultipleIterator::key (PHP 5 >= 5.3.0, PHP 7, PHP 8) MultipleIterator::key — Gets the registered iterator instances

  2. MultipleIterator::key (PHP 5 >= 5.3.0, PHP 7) MultipleIterator::key — Gets the registered iterator instances Description public MultipleIterator::key ( ) : array Get the registered iterator instances key() result. WarningThis function is currently not documented; only its argument list is available. Parameters This function has no parameters. Return Values An array of all registered iterator ...

  3. Errors/Exceptions A RuntimeException if the iterator is invalid (as of PHP 8.1.0), or mode MIT_NEED_ALL is set, and at least one attached iterator is not valid. Calling this method from foreach triggers warning "Illegal type returned".

  4. Simple usage example of `MultipleIterator::key ()`. The MultipleIterator::key function is used to retrieve the current key from each of the registered iterator instances within a MultipleIterator object. This function can be used when iterating over multiple iterators simultaneously and you need to access the keys of each iterator.

  5. ftp.ntu.edu.tw › en › multipleiteratorMultipleIterator::key

    Errors/Exceptions A RuntimeException if the iterator is invalid (as of PHP 8.1.0), or mode MIT_NEED_ALL is set, and at least one attached iterator is not valid. Calling this method from foreach triggers warning "Illegal type returned".

  6. Errors/Exceptions A LogicException if mode MIT_NEED_ALL is set, and at least one attached iterator is not valid. Calling this method from foreach triggers warning "Illegal type returned".

  7. key メソッドは、複数のイテレータをまとめて処理する MultipleIterator オブジェクトが、現在指し示している要素群の「キー」を取得するメソッドです。 MultipleIterator は、複数の配列やオブジェクトなどの異なるデータ構造を同時に反復処理する際に利用され、それぞれのイテレータの要素を同期 ...

  1. People also search for