WeakMap::getIterator

(PHP 8)

WeakMap::getIteratorRetrieve an external iterator

Description

public WeakMap::getIterator(): Iterator

Returns an external iterator.

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

An instance of an object implementing Iterator or Traversable

Erreurs / Exceptions

Throws an Exception on failure.