diff --git a/ext/spl/spl_heap.c b/ext/spl/spl_heap.c index e49982fabed44..3b3a1889e63f9 100644 --- a/ext/spl/spl_heap.c +++ b/ext/spl/spl_heap.c @@ -1192,7 +1192,7 @@ static const zend_function_entry spl_funcs_SplHeap[] = { SPL_ME(SplHeap, valid, arginfo_splheap_void, ZEND_ACC_PUBLIC) SPL_ME(SplHeap, recoverFromCorruption, arginfo_splheap_void, ZEND_ACC_PUBLIC) SPL_ME(SplHeap, isCorrupted, arginfo_splheap_void, ZEND_ACC_PUBLIC) - ZEND_FENTRY(compare, NULL, NULL, ZEND_ACC_PROTECTED|ZEND_ACC_ABSTRACT) + ZEND_FENTRY(compare, NULL, arginfo_heap_compare, ZEND_ACC_PROTECTED|ZEND_ACC_ABSTRACT) PHP_FE_END }; /* }}} */ diff --git a/ext/spl/tests/heap_isempty_variation_001.phpt b/ext/spl/tests/heap_isempty_variation_001.phpt index dac470fccfe32..6c094076cf68b 100644 --- a/ext/spl/tests/heap_isempty_variation_001.phpt +++ b/ext/spl/tests/heap_isempty_variation_001.phpt @@ -2,14 +2,14 @@ SPL: SplHeap: isEmpty argument variation. --FILE-- isEmpty(1); ?> --EXPECTF-- diff --git a/ext/spl/tests/spl_heap_extract_parameter_error.phpt b/ext/spl/tests/spl_heap_extract_parameter_error.phpt index aecd03dfa1b7d..08c1de3ab4526 100644 --- a/ext/spl/tests/spl_heap_extract_parameter_error.phpt +++ b/ext/spl/tests/spl_heap_extract_parameter_error.phpt @@ -8,7 +8,7 @@ TestFest London May 2009 class TestHeap extends SplHeap { - function compare() { + function compare($a, $b) { print "This shouldn't be printed"; } }