Home
last modified time | relevance | path

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

/PHP-7.3/ext/spl/
H A Dspl_iterators.c3642 spl_iterator_apply_info *apply_info = (spl_iterator_apply_info*)puser; in spl_iterator_func_apply() local
3645 apply_info->count++; in spl_iterator_func_apply()
3646 zend_fcall_info_call(&apply_info->fci, &apply_info->fcc, &retval, NULL); in spl_iterator_func_apply()
3657 spl_iterator_apply_info apply_info; in PHP_FUNCTION() local
3659 apply_info.args = NULL; in PHP_FUNCTION()
3660 …ameters(ZEND_NUM_ARGS(), "Of|a!", &apply_info.obj, zend_ce_traversable, &apply_info.fci, &apply_in… in PHP_FUNCTION()
3664 apply_info.count = 0; in PHP_FUNCTION()
3665 zend_fcall_info_args(&apply_info.fci, apply_info.args); in PHP_FUNCTION()
3666 if (spl_iterator_apply(apply_info.obj, spl_iterator_func_apply, (void*)&apply_info) == SUCCESS) { in PHP_FUNCTION()
3667 RETVAL_LONG(apply_info.count); in PHP_FUNCTION()
[all …]

Completed in 15 milliseconds