PHP 8.1.0 Beta 1 available for testing

WeakMap::getIterator

(PHP 8)

WeakMap::getIteratorRetrieve an external iterator

Description

abstract public WeakMap::getIterator(): Traversable

Returns an external iterator.

Parameters

This function has no parameters.

Return Values

An instance of an object implementing Iterator or Traversable

Errors/Exceptions

Throws an Exception on failure.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top