From: Frank M. Kromann Date: Wed, 3 Nov 2004 01:16:10 +0000 (+0000) Subject: Add termination block to function table. This will allow the engine to stop registret... X-Git-Tag: RELEASE_0_2~755 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=93da44811e7995be32cf7cdd77ac3068a30cb546;p=php Add termination block to function table. This will allow the engine to stop registreting functions at the end. This fixes the - duplicate name - warning --- diff --git a/ext/spl/spl_iterators.c b/ext/spl/spl_iterators.c index 86ae919c2c..7c03da2863 100755 --- a/ext/spl/spl_iterators.c +++ b/ext/spl/spl_iterators.c @@ -1557,6 +1557,7 @@ SPL_METHOD(InfiniteIterator, next) static zend_function_entry spl_funcs_InfiniteIterator[] = { SPL_ME(InfiniteIterator, __construct, arginfo_norewind_it___construct, ZEND_ACC_PUBLIC) SPL_ME(InfiniteIterator, next, NULL, ZEND_ACC_PUBLIC) + {NULL, NULL, NULL} }; /* {{{ proto EmptyIterator::rewind()