1802. Class

1802.1. Zend\Stdlib\SplPriorityQueue

Serializable version of SplPriorityQueue

Also, provides predictable heap order for datums added with the same priority (i.e., they will be emitted in the same order they are enqueued).

1802.1.1. Methods

1802.1.1.1. insert

insert()

Insert a value with a given priority

Utilizes {@var $serial} to ensure that values of equal priority are emitted in the same order in which they are inserted.

Parameters:
  • mixed
  • mixed
Return type:

void

1802.1.1.2. toArray

toArray()

Serialize to an array

Array will be priority => data pairs

Return type:array

1802.1.1.3. serialize

serialize()

Serialize

Return type:string

1802.1.1.4. unserialize

unserialize()

Deserialize

Parameters:string
Return type:void

Project Versions

Table Of Contents

Previous topic

<no title>

Next topic

1803. Class

This Page