Home
last modified time | relevance | path

Searched refs:SplPriorityQueue (Results 1 – 19 of 19) sorted by relevance

/PHP-8.2/ext/spl/tests/
H A Dbug78436.phpt2 Bug #78436: Missing addref in SplPriorityQueue EXTR_BOTH mode
6 $pq = new SplPriorityQueue();
13 object(SplPriorityQueue)#1 (3) {
14 ["flags":"SplPriorityQueue":private]=>
16 ["isCorrupted":"SplPriorityQueue":private]=>
18 ["heap":"SplPriorityQueue":private]=>
30 object(SplPriorityQueue)#1 (3) {
31 ["flags":"SplPriorityQueue":private]=>
33 ["isCorrupted":"SplPriorityQueue":private]=>
35 ["heap":"SplPriorityQueue":private]=>
H A Dpqueue_004.phpt2 SPL: SplPriorityQueue: var_dump
5 $pq = new SplPriorityQueue();
15 object(SplPriorityQueue)#1 (3) {
16 ["flags":"SplPriorityQueue":private]=>
18 ["isCorrupted":"SplPriorityQueue":private]=>
20 ["heap":"SplPriorityQueue":private]=>
H A Dpqueue_001.phpt2 SPL: SplPriorityQueue: std operations and extract flags
5 $pq = new SplPriorityQueue();
24 $pq1 = new SplPriorityQueue();
25 $pq1->setExtractFlags(SplPriorityQueue::EXTR_BOTH);
37 $pq2 = new SplPriorityQueue();
38 $pq2->setExtractFlags(SplPriorityQueue::EXTR_DATA);
50 $pq3 = new SplPriorityQueue();
51 $pq3->setExtractFlags(SplPriorityQueue::EXTR_PRIORITY);
H A Dspl_pq_top_basic.phpt2 SPL: SplPriorityQueue: top and extract flags
9 $priorityQueue = new SplPriorityQueue();
20 $priorityQueue->setExtractFlags(SplPriorityQueue::EXTR_PRIORITY);
21 var_dump($priorityQueue->getExtractFlags() & SplPriorityQueue::EXTR_PRIORITY);
26 $priorityQueue->setExtractFlags(SplPriorityQueue::EXTR_BOTH);
31 $priorityQueue->setExtractFlags(SplPriorityQueue::EXTR_DATA);
H A Dspl_pqueue_gc.phpt2 Bug #78436: Broken GC for SplPriorityQueue
6 $pqueue = new SplPriorityQueue();
9 $pqueue2 = new SplPriorityQueue();
H A DSplPriorityQueue_setExtractFlags_zero.phpt2 Setting SplPriorityQueue extract flags to zero generates an exception
6 $queue = new SplPriorityQueue();
13 #0 %s(%d): SplPriorityQueue->setExtractFlags(0)
H A Dheap_009.phpt38 // 5. SplPriorityQueue empty
39 $heap = new SplPriorityQueue;
42 // 6. SplPriorityQueue non-empty
43 $heap = new SplPriorityQueue;
H A Dbug70573.phpt2 Bug #70573 (Cloning SplPriorityQueue leads to memory leaks)
5 $q1 = new SplPriorityQueue();
H A Dpqueue_current_error.phpt2 SPL: SplPriorityQueue current on empty queue should give null
8 $h = new SplPriorityQueue();
H A Dpqueue_compare_basic.phpt2 SPL: SplPriorityQueue: test compare
8 $h = new SplPriorityQueue();
H A Dspl_pq_top_error_empty.phpt2 SPL: SplPriorityQueue: top exception on empty heap
9 $priorityQueue = new SplPriorityQueue();
H A Dpqueue_003.phpt2 SPL: SplPriorityQueue: iteration through methods
5 $h = new SplPriorityQueue();
H A Dspl_pq_top_error_corrupt.phpt2 SPL: SplPriorityQueue: top and extract flags
9 class myPriorityQueue extends SplPriorityQueue{
H A Dpqueue_002.phpt2 SPL: SplPriorityQueue: exceptions
5 class myPQueue extends SplPriorityQueue {
H A Dbug69264.phpt47 class MyPriorityQueue extends SplPriorityQueue {
/PHP-8.2/ext/spl/
H A Dspl_heap_arginfo.h88 ZEND_METHOD(SplPriorityQueue, compare);
89 ZEND_METHOD(SplPriorityQueue, insert);
90 ZEND_METHOD(SplPriorityQueue, setExtractFlags);
91 ZEND_METHOD(SplPriorityQueue, top);
92 ZEND_METHOD(SplPriorityQueue, extract);
96 ZEND_METHOD(SplPriorityQueue, current);
102 ZEND_METHOD(SplPriorityQueue, getExtractFlags);
103 ZEND_METHOD(SplPriorityQueue, __debugInfo);
114 ZEND_ME(SplPriorityQueue, compare, arginfo_class_SplPriorityQueue_compare, ZEND_ACC_PUBLIC)
115 ZEND_ME(SplPriorityQueue, insert, arginfo_class_SplPriorityQueue_insert, ZEND_ACC_PUBLIC)
[all …]
H A Dspl_heap.stub.php5 class SplPriorityQueue implements Iterator, Countable class
H A Dspl_heap.c674 PHP_METHOD(SplPriorityQueue, insert) in PHP_METHOD() argument
716 PHP_METHOD(SplPriorityQueue, extract) in PHP_METHOD() argument
742 PHP_METHOD(SplPriorityQueue, top) in PHP_METHOD() argument
770 PHP_METHOD(SplPriorityQueue, setExtractFlags) in PHP_METHOD() argument
792 PHP_METHOD(SplPriorityQueue, getExtractFlags) in PHP_METHOD() argument
839 PHP_METHOD(SplPriorityQueue, compare) in PHP_METHOD() argument
1049 PHP_METHOD(SplPriorityQueue, current) in PHP_METHOD() argument
1077 PHP_METHOD(SplPriorityQueue, __debugInfo) in PHP_METHOD() argument
H A Dphp_spl.c211 SPL_ADD_CLASS(SplPriorityQueue, z_list, sub, allow, ce_flags); \

Completed in 27 milliseconds