mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
- Add some arginfo
This commit is contained in:
parent
45dd9a10b8
commit
b56190d25b
1 changed files with 7 additions and 2 deletions
|
@ -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
|
/* {{{ spl_functions
|
||||||
*/
|
*/
|
||||||
zend_function_entry spl_functions[] = {
|
zend_function_entry spl_functions[] = {
|
||||||
|
@ -623,8 +628,8 @@ zend_function_entry spl_functions[] = {
|
||||||
PHP_FE(class_parents, NULL)
|
PHP_FE(class_parents, NULL)
|
||||||
PHP_FE(class_implements, NULL)
|
PHP_FE(class_implements, NULL)
|
||||||
#ifdef SPL_ITERATORS_H
|
#ifdef SPL_ITERATORS_H
|
||||||
PHP_FE(iterator_to_array, NULL)
|
PHP_FE(iterator_to_array, arginfo_iterator)
|
||||||
PHP_FE(iterator_count, NULL)
|
PHP_FE(iterator_count, arginfo_iterator)
|
||||||
#endif /* SPL_ITERATORS_H */
|
#endif /* SPL_ITERATORS_H */
|
||||||
{NULL, NULL, NULL}
|
{NULL, NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue