Ds\Map::capacity

(PECL ds >= 1.0.0)

Ds\Map::capacityReturns the current capacity

˵��

public Ds\Map::capacity ( void ) : int

Returns the current capacity.

����

�˺���û�в�����

����ֵ

The current capacity.

����

Example #1 Ds\Map::capacity() example

<?php
$map 
= new \Ds\Map();
var_dump($map->capacity());
?>

�������̵���������ڣ�

int(16)