(PECL ds >= 1.0.0)
Ds\PriorityQueue::capacity — Returns the current capacity.
Returns the current capacity.
Esta função não possui parâmetros.
The current capacity.
Exemplo #1 Ds\PriorityQueue::capacity() example
<?php
$queue = new \Ds\PriorityQueue();
var_dump($queue->capacity());
?>
O exemplo acima irá imprimir algo similar à:
int(8)