From 93da44811e7995be32cf7cdd77ac3068a30cb546 Mon Sep 17 00:00:00 2001 From: "Frank M. Kromann" Date: Wed, 3 Nov 2004 01:16:10 +0000 Subject: [PATCH] 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 | 1 + 1 file changed, 1 insertion(+) 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() -- 2.50.1