/PHP-5.6/ext/spl/tests/ |
H A D | SplPriorityQueue_extract_invalid_parameter.phpt | 2 Check that SplPriorityQueue::extract generate a warning and returns NULL when param passed 20 $h = new SplPriorityQueue(); 27 Warning: SplPriorityQueue::extract() expects exactly 0 parameters, 1 given in %s on line %d 30 Warning: SplPriorityQueue::extract() expects exactly 0 parameters, 1 given in %s on line %d 33 Warning: SplPriorityQueue::extract() expects exactly 0 parameters, 1 given in %s on line %d 36 Warning: SplPriorityQueue::extract() expects exactly 0 parameters, 1 given in %s on line %d 39 Warning: SplPriorityQueue::extract() expects exactly 0 parameters, 1 given in %s on line %d 42 Warning: SplPriorityQueue::extract() expects exactly 0 parameters, 1 given in %s on line %d 45 Warning: SplPriorityQueue::extract() expects exactly 0 parameters, 1 given in %s on line %d
|
H A D | pqueue_004.phpt | 2 SPL: SplPriorityQueue: var_dump 5 $pq = new SplPriorityQueue(); 17 object(SplPriorityQueue)#1 (3) { 18 ["flags":"SplPriorityQueue":private]=> 20 ["isCorrupted":"SplPriorityQueue":private]=> 22 ["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(); 18 $priorityQueue->setExtractFlags(SplPriorityQueue::EXTR_PRIORITY); 22 $priorityQueue->setExtractFlags(SplPriorityQueue::EXTR_BOTH); 27 $priorityQueue->setExtractFlags(SplPriorityQueue::EXTR_DATA);
|
H A D | pqueue_compare_error.phpt | 8 $h = new SplPriorityQueue(); 14 Warning: SplPriorityQueue::compare() expects exactly 2 parameters, 0 given in %s 16 Warning: SplPriorityQueue::compare() expects exactly 2 parameters, 1 given in %s 18 Warning: SplPriorityQueue::compare() expects exactly 2 parameters, 3 given in %s
|
H A D | spl_priorityqeue_insert_two_params_error.phpt | 10 $testHeap = new SplPriorityQueue(); 22 Warning: SplPriorityQueue::insert() expects exactly 2 parameters, 0 given in %s on line 7 25 Warning: SplPriorityQueue::insert() expects exactly 2 parameters, 1 given in %s on line 8 29 Warning: SplPriorityQueue::insert() expects exactly 2 parameters, 3 given in %s on line 10
|
H A D | spl_pq_top_error_args.phpt | 2 SPL: SplPriorityQueue: top too many arguments exception 8 $priorityQueue = new SplPriorityQueue(); 12 Warning: SplPriorityQueue::top() expects exactly 0 parameters, 1 given in %s
|
H A D | SplPriorityQueue_insert_invalid_parameter.phpt | 2 Check that SplPriorityQueue::insert generate a warning and returns NULL when rubbish params are pas… 8 $h = new SplPriorityQueue(); 14 Warning: SplPriorityQueue::insert() expects exactly 2 parameters, 1 given in %s on line %d
|
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 | pqueue_current_error.phpt | 2 SPL: SplPriorityQueue current on empty queue should give null 8 $h = new SplPriorityQueue();
|
H A D | spl_heap_count_error.phpt | 8 $h = new SplPriorityQueue(); 12 Warning: SplPriorityQueue::count() expects exactly 0 parameters, 1 given in %s
|
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 | splpriorityqueue_setextractflags.phpt | 9 $sp = new SplPriorityQueue(); 16 Warning: SplPriorityQueue::setExtractFlags() expects exactly 1 parameter, 2 given in %s on line %d
|
H A D | splpriorityqueue_extract.phpt | 9 $sp = new SplPriorityQueue(); 18 Warning: SplPriorityQueue::extract() expects exactly 0 parameters, 1 given in %s on line %d
|
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 {
|
/PHP-5.6/ext/spl/ |
H A D | spl_heap.c | 671 SPL_METHOD(SplPriorityQueue, insert) in SPL_METHOD() argument 704 SPL_METHOD(SplPriorityQueue, extract) in SPL_METHOD() argument 747 SPL_METHOD(SplPriorityQueue, top) in SPL_METHOD() argument 783 SPL_METHOD(SplPriorityQueue, setExtractFlags) in SPL_METHOD() argument 820 SPL_METHOD(SplPriorityQueue, compare) in SPL_METHOD() argument 1059 SPL_METHOD(SplPriorityQueue, current) in SPL_METHOD() argument 1181 SPL_ME(SplPriorityQueue, compare, arginfo_heap_compare, ZEND_ACC_PUBLIC) 1241 REGISTER_SPL_IMPLEMENTS(SplPriorityQueue, Iterator); in PHP_MINIT_FUNCTION() 1242 REGISTER_SPL_IMPLEMENTS(SplPriorityQueue, Countable); in PHP_MINIT_FUNCTION() 1246 REGISTER_SPL_CLASS_CONST_LONG(SplPriorityQueue, "EXTR_BOTH", SPL_PQUEUE_EXTR_BOTH); in PHP_MINIT_FUNCTION() [all …]
|
H A D | php_spl.c | 235 SPL_ADD_CLASS(SplPriorityQueue, z_list, sub, allow, ce_flags); \
|
/PHP-5.6/ |
H A D | NEWS | 7490 . Added SplHeap, SplMinHeap, SplMaxHeap, SplPriorityQueue classes. (Etienne)
|