Home
last modified time | relevance | path

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

/PHP-5.4/ext/spl/tests/
H A DSplPriorityQueue_extract_invalid_parameter.phpt2 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 Dpqueue_004.phpt2 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 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();
18 $priorityQueue->setExtractFlags(SplPriorityQueue::EXTR_PRIORITY);
22 $priorityQueue->setExtractFlags(SplPriorityQueue::EXTR_BOTH);
27 $priorityQueue->setExtractFlags(SplPriorityQueue::EXTR_DATA);
H A Dpqueue_compare_error.phpt8 $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 Dspl_priorityqeue_insert_two_params_error.phpt10 $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 Dspl_pq_top_error_args.phpt2 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 DSplPriorityQueue_insert_invalid_parameter.phpt2 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 Dheap_009.phpt38 // 5. SplPriorityQueue empty
39 $heap = new SplPriorityQueue;
42 // 6. SplPriorityQueue non-empty
43 $heap = new SplPriorityQueue;
H A Dpqueue_current_error.phpt2 SPL: SplPriorityQueue current on empty queue should give null
8 $h = new SplPriorityQueue();
H A Dspl_heap_count_error.phpt8 $h = new SplPriorityQueue();
12 Warning: SplPriorityQueue::count() expects exactly 0 parameters, 1 given in %s
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 Dsplpriorityqueue_setextractflags.phpt9 $sp = new SplPriorityQueue();
16 Warning: SplPriorityQueue::setExtractFlags() expects exactly 1 parameter, 2 given in %s on line %d
H A Dsplpriorityqueue_extract.phpt9 $sp = new SplPriorityQueue();
18 Warning: SplPriorityQueue::extract() expects exactly 0 parameters, 1 given in %s on line %d
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 {
/PHP-5.4/ext/spl/
H A Dspl_heap.c670 SPL_METHOD(SplPriorityQueue, insert) in SPL_METHOD() argument
703 SPL_METHOD(SplPriorityQueue, extract) in SPL_METHOD() argument
746 SPL_METHOD(SplPriorityQueue, top) in SPL_METHOD() argument
782 SPL_METHOD(SplPriorityQueue, setExtractFlags) in SPL_METHOD() argument
819 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 Dphp_spl.c235 SPL_ADD_CLASS(SplPriorityQueue, z_list, sub, allow, ce_flags); \
/PHP-5.4/
H A DNEWS4723 . Added SplHeap, SplMinHeap, SplMaxHeap, SplPriorityQueue classes. (Etienne)

Completed in 47 milliseconds