summaryrefslogtreecommitdiff
path: root/ext/spl/php_spl.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-02-20 22:21:54 +0000
committerMarcus Boerger <helly@php.net>2006-02-20 22:21:54 +0000
commit289f45c2791f28e159918d8d4efe36d6246c550e (patch)
treea8734805806c0ad06cb145f63c2583891dc14f06 /ext/spl/php_spl.c
parent4ea898b79fc1c859bb9f59a84a90a30ba5ddf4be (diff)
downloadphp-git-289f45c2791f28e159918d8d4efe36d6246c550e.tar.gz
- Synch docu
Diffstat (limited to 'ext/spl/php_spl.c')
-rwxr-xr-xext/spl/php_spl.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c
index 64cc72d60d..13c80a1268 100755
--- a/ext/spl/php_spl.c
+++ b/ext/spl/php_spl.c
@@ -598,6 +598,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[] = {
@@ -611,8 +616,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}
};