]> granicus.if.org Git - php/commitdiff
- Add some arginfo
authorMarcus Boerger <helly@php.net>
Mon, 20 Feb 2006 22:23:27 +0000 (22:23 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 20 Feb 2006 22:23:27 +0000 (22:23 +0000)
ext/spl/php_spl.c

index 23a3290facf6ee7a67fec2e352e1e55a35018abc..f4d7afd12482a3d3d6c4950542624895cf7d5f2d 100755 (executable)
@@ -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}
 };