SplPriorityQueue
PHP Manual

SplPriorityQueue::valid

(PHP 5 >= 5.3.0)

SplPriorityQueue::validCheck whether the queue contains more nodes

설명

bool SplPriorityQueue::valid ( void )

Checks if the queue contains any more nodes.

인수

이 함수는 인수가 없습니다.

반환값

Returns TRUE if the queue contains any more nodes, FALSE otherwise.


SplPriorityQueue
PHP Manual