/PHP-8.1/ext/spl/tests/ |
H A D | bug78436.phpt | 2 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 D | pqueue_004.phpt | 2 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 D | pqueue_001.phpt | 2 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 D | spl_pq_top_basic.phpt | 2 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 D | spl_pqueue_gc.phpt | 2 Bug #78436: Broken GC for SplPriorityQueue 6 $pqueue = new SplPriorityQueue(); 9 $pqueue2 = new SplPriorityQueue();
|
H A D | SplPriorityQueue_setExtractFlags_zero.phpt | 2 Setting SplPriorityQueue extract flags to zero generates an exception 6 $queue = new SplPriorityQueue(); 13 #0 %s(%d): SplPriorityQueue->setExtractFlags(0)
|
H A D | heap_009.phpt | 38 // 5. SplPriorityQueue empty 39 $heap = new SplPriorityQueue; 42 // 6. SplPriorityQueue non-empty 43 $heap = new SplPriorityQueue;
|
H A D | bug70573.phpt | 2 Bug #70573 (Cloning SplPriorityQueue leads to memory leaks) 5 $q1 = new SplPriorityQueue();
|
H A D | pqueue_current_error.phpt | 2 SPL: SplPriorityQueue current on empty queue should give null 8 $h = new SplPriorityQueue();
|
H A D | pqueue_compare_basic.phpt | 2 SPL: SplPriorityQueue: test compare 8 $h = new SplPriorityQueue();
|
H A D | spl_pq_top_error_empty.phpt | 2 SPL: SplPriorityQueue: top exception on empty heap 9 $priorityQueue = new SplPriorityQueue();
|
H A D | pqueue_003.phpt | 2 SPL: SplPriorityQueue: iteration through methods 5 $h = new SplPriorityQueue();
|
H A D | spl_pq_top_error_corrupt.phpt | 2 SPL: SplPriorityQueue: top and extract flags 9 class myPriorityQueue extends SplPriorityQueue{
|
H A D | pqueue_002.phpt | 2 SPL: SplPriorityQueue: exceptions 5 class myPQueue extends SplPriorityQueue {
|
H A D | bug69264.phpt | 47 class MyPriorityQueue extends SplPriorityQueue {
|
/PHP-8.1/ext/spl/ |
H A D | spl_heap_arginfo.h | 88 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 D | spl_heap.c | 659 PHP_METHOD(SplPriorityQueue, insert) in PHP_METHOD() argument 702 PHP_METHOD(SplPriorityQueue, extract) in PHP_METHOD() argument 729 PHP_METHOD(SplPriorityQueue, top) in PHP_METHOD() argument 758 PHP_METHOD(SplPriorityQueue, setExtractFlags) in PHP_METHOD() argument 780 PHP_METHOD(SplPriorityQueue, getExtractFlags) in PHP_METHOD() argument 827 PHP_METHOD(SplPriorityQueue, compare) in PHP_METHOD() argument 1043 PHP_METHOD(SplPriorityQueue, current) in PHP_METHOD() argument 1071 PHP_METHOD(SplPriorityQueue, __debugInfo) in PHP_METHOD() argument 1188 REGISTER_SPL_CLASS_CONST_LONG(SplPriorityQueue, "EXTR_BOTH", SPL_PQUEUE_EXTR_BOTH); in PHP_MINIT_FUNCTION() 1189 REGISTER_SPL_CLASS_CONST_LONG(SplPriorityQueue, "EXTR_PRIORITY", SPL_PQUEUE_EXTR_PRIORITY); in PHP_MINIT_FUNCTION() [all …]
|
H A D | spl_heap.stub.php | 5 class SplPriorityQueue implements Iterator, Countable class
|
H A D | php_spl.c | 212 SPL_ADD_CLASS(SplPriorityQueue, z_list, sub, allow, ce_flags); \
|