From 6a15a50d353300c25ab9d451fe53d4b56cf12850 Mon Sep 17 00:00:00 2001 From: "Frank M. Kromann" Date: Wed, 3 Nov 2004 01:20:16 +0000 Subject: [PATCH] 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 --- ext/spl/spl_iterators.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/spl/spl_iterators.c b/ext/spl/spl_iterators.c index 7c03da2863..c65e2d04f5 100755 --- a/ext/spl/spl_iterators.c +++ b/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) -- 2.50.1