PHP 8.1.31 Released!

The Pair class

(PECL ds >= 1.0.0)

Introduzione

A pair is used by Ds\Map to pair keys with values.

Sommario della classe

class Ds\Pair implements JsonSerializable {
/* Metodi */
public __construct(mixed $key = ?, mixed $value = ?)
public clear(): void
public copy(): Ds\Pair
public isEmpty(): bool
public toArray(): array
}

Indice dei contenuti

add a note

User Contributed Notes

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