Home
last modified time | relevance | path

Searched refs:apply_info (Results 1 – 1 of 1) sorted by relevance

/PHP-7.2/ext/spl/
H A Dspl_iterators.c3658 spl_iterator_apply_info *apply_info = (spl_iterator_apply_info*)puser; in spl_iterator_func_apply() local
3661 apply_info->count++; in spl_iterator_func_apply()
3662 zend_fcall_info_call(&apply_info->fci, &apply_info->fcc, &retval, NULL); in spl_iterator_func_apply()
3677 spl_iterator_apply_info apply_info; in PHP_FUNCTION() local
3679 apply_info.args = NULL; in PHP_FUNCTION()
3680 …ameters(ZEND_NUM_ARGS(), "Of|a!", &apply_info.obj, zend_ce_traversable, &apply_info.fci, &apply_in… in PHP_FUNCTION()
3684 apply_info.count = 0; in PHP_FUNCTION()
3685 zend_fcall_info_args(&apply_info.fci, apply_info.args); in PHP_FUNCTION()
3686 if (spl_iterator_apply(apply_info.obj, spl_iterator_func_apply, (void*)&apply_info) == SUCCESS) { in PHP_FUNCTION()
3687 RETVAL_LONG(apply_info.count); in PHP_FUNCTION()
[all …]

Completed in 13 milliseconds