Ds\Stack::capacity (PECL ds >= 1.0.0)Ds\Stack::capacity — Returns the current capacity 说明 public Ds\Stack::capacity(): int Returns the current capacity. 参数 此函数没有参数。 返回值 The current capacity.