Browse Source

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
93da44811e
  1. 1
      ext/spl/spl_iterators.c

1
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()

Loading…
Cancel
Save