From: Marcus Boerger Date: Mon, 20 Feb 2006 22:23:27 +0000 (+0000) Subject: - Add some arginfo X-Git-Tag: RELEASE_1_2~148 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b56190d25bce32f9a002db5a906574badc79a1cc;p=php - Add some arginfo --- diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c index 23a3290fac..f4d7afd124 100755 --- a/ext/spl/php_spl.c +++ b/ext/spl/php_spl.c @@ -610,6 +610,11 @@ PHP_MINFO_FUNCTION(spl) } /* }}} */ +static +ZEND_BEGIN_ARG_INFO(arginfo_iterator, 0) + ZEND_ARG_INFO(0, iterator) +ZEND_END_ARG_INFO(); + /* {{{ spl_functions */ zend_function_entry spl_functions[] = { @@ -623,8 +628,8 @@ zend_function_entry spl_functions[] = { PHP_FE(class_parents, NULL) PHP_FE(class_implements, NULL) #ifdef SPL_ITERATORS_H - PHP_FE(iterator_to_array, NULL) - PHP_FE(iterator_count, NULL) + PHP_FE(iterator_to_array, arginfo_iterator) + PHP_FE(iterator_count, arginfo_iterator) #endif /* SPL_ITERATORS_H */ {NULL, NULL, NULL} };