fmk             Tue Nov  2 20:16:11 2004 EDT

  Modified files:              
    /php-src/ext/spl    spl_iterators.c 
  Log:
  Add termination block to function table. This will allow the engine to stop 
registreting functions at the end.
  This fixes the - duplicate name - warning
  
http://cvs.php.net/diff.php/php-src/ext/spl/spl_iterators.c?r1=1.54&r2=1.55&ty=u
Index: php-src/ext/spl/spl_iterators.c
diff -u php-src/ext/spl/spl_iterators.c:1.54 php-src/ext/spl/spl_iterators.c:1.55
--- php-src/ext/spl/spl_iterators.c:1.54        Mon Nov  1 18:16:43 2004
+++ php-src/ext/spl/spl_iterators.c     Tue Nov  2 20:16:10 2004
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: spl_iterators.c,v 1.54 2004/11/01 23:16:43 helly Exp $ */
+/* $Id: spl_iterators.c,v 1.55 2004/11/03 01:16:10 fmk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 # include "config.h"
@@ -1557,6 +1557,7 @@
 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()

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to