Browse Source

oops missed a couple!

Add termination block to function table. This will allow the engine to stop registreting functions at the end.
This fixes the - duplicate name - warning
PHP-5.1
Frank M. Kromann 22 years ago
parent
commit
6a15a50d35
  1. 2
      ext/spl/spl_iterators.c

2
ext/spl/spl_iterators.c

@ -1599,6 +1599,7 @@ static zend_function_entry spl_funcs_EmptyIterator[] = {
SPL_ME(EmptyIterator, key, NULL, ZEND_ACC_PUBLIC)
SPL_ME(EmptyIterator, current, NULL, ZEND_ACC_PUBLIC)
SPL_ME(EmptyIterator, next, NULL, ZEND_ACC_PUBLIC)
{NULL, NULL, NULL}
};
int spl_append_it_next_iterator(spl_dual_it_object *intern TSRMLS_DC) /* {{{*/
@ -1729,6 +1730,7 @@ static zend_function_entry spl_funcs_AppendIterator[] = {
SPL_ME(dual_it, current, NULL, ZEND_ACC_PUBLIC)
SPL_ME(AppendIterator, next, NULL, ZEND_ACC_PUBLIC)
SPL_ME(dual_it, getInnerIterator, NULL, ZEND_ACC_PUBLIC)
{NULL, NULL, NULL}
};
/* {{{ array iterator_to_array(IteratorAggregate it)

Loading…
Cancel
Save