PHP Manual
Function Reference
Variable and Type Related Extensions
Data Structures
Stack
Ds\Stack::allocate
Ds\Stack::capacity
Ds\Stack::clear
Ds\Stack::__construct
Ds\Stack::copy
Ds\Stack::count
Ds\Stack::isEmpty
Ds\Stack::jsonSerialize
Ds\Stack::peek
Ds\Stack::pop
Ds\Stack::push
Ds\Stack::toArray
Ds\Stack::allocate
Ds\Stack::clear
Stack
PHP Manual
Ds\Stack::capacity
Returns 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.