php8.5
Home/ Manual/ ds / stack/ Ds\Stack::capacity

Ds\Stack::capacity

PHP function Edit on GitHub ✎

(PECL ds >= 1.0.0)

Returns the current capacity

Description

Ds\Stack::capacity(): int

Returns the current capacity.

Parameters Parameters

Return Values

The current capacity.

Source: reference/ds/ds/stack/capacity.xml · from the official PHP manual (php/doc-en)