SplPriorityQueue::rewind
PHP Manual
PHP Manual»SplPriorityQueue»SplPriorityQueue::rewind

SplPriorityQueue::rewind

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

SplPriorityQueue::rewindRewind iterator back to the start (no-op)

Açıklama

public function SplPriorityQueue::rewind(): void

This rewinds the iterator to the beginning. This is a no-op for heaps as the iterator is virtual and in fact never moves from the top of the heap.

Bağımsız Değişkenler

Bu işlevin bağımsız değişkeni yoktur.

Dönen Değerler

Hiçbir değer dönmez.

To Top