Stack
PHP Manual

Ds\Stack::capacity

(PECL ds >= 1.0.0)

Ds\Stack::capacityReturns the current capacity.

Description

public int Ds\Stack::capacity ( void )

Returns the current capacity.

Parameters

This function has no parameters.

Return Values

The current capacity.


Stack
PHP Manual