PHP 8.3.4 Released!

Ds\Map::capacity

(PECL ds >= 1.0.0)

Ds\Map::capacityReturns the current capacity

Beschreibung

public Ds\Map::capacity(): int

Returns the current capacity.

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

The current capacity.

Beispiele

Beispiel #1 Ds\Map::capacity() example

<?php
$map
= new \Ds\Map();
var_dump($map->capacity());
?>

Das oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:

int(16)
add a note

User Contributed Notes

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