Returns the current capacity

Ds\Stack::capacity

(PECL ds >= 1.0.0)

Ds\Stack::capacityReturns the current capacity

說明

public Ds\Stack::capacity(): int

Returns the current capacity.

參數

此函式沒有參數。

返回值

The current capacity.

Leave a Reply

Your email address will not be published. Required fields are marked *