PHP Classes & Interfaces


Name: SplPriorityQueue

Date: Aug-19-2017
PHP version: 5.3.3
Type: Internal

class SplPriorityQueue implements Iterator, Traversable, Countable

Public Methods

public compare ( $a, $b )

public insert ( $value, $priority )

public setExtractFlags ( $flags )

public top ( )

public extract ( )

public count ( )

public isEmpty ( )

public rewind ( )

public current ( )

public key ( )

public next ( )

public valid ( )

public recoverFromCorruption ( )

Constants

const EXTR_BOTH = 3

const EXTR_PRIORITY = 2

const EXTR_DATA = 1