Skip to content

Commit

Permalink
Fixed bug #77619
Browse files Browse the repository at this point in the history
Fix MultipleIterator::__construct() arginfo
  • Loading branch information
villfa authored and nikic committed Feb 14, 2019
1 parent faaf510 commit ce7552a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion NEWS
Expand Up @@ -3,7 +3,8 @@ PHP NEWS
?? ??? ????, PHP 8.0.0alpha1

- Core:
. Fixed bug #77546 (iptcembed broken function). (gdegoulet)
. Fixed bug #77619 (Wrong reflection on MultipleIterator::__construct).
(Fabien Villepinte)

- GD:
. Removed deprecated image2wbmp(). (cmb)
Expand Down
6 changes: 5 additions & 1 deletion ext/spl/spl_observer.c
Expand Up @@ -1215,8 +1215,12 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_MultipleIterator_setflags, 0, 0, 1)
ZEND_ARG_INFO(0, flags)
ZEND_END_ARG_INFO();

ZEND_BEGIN_ARG_INFO_EX(arginfo_MultipleIterator_construct, 0, 0, 0)
ZEND_ARG_INFO(0, flags)
ZEND_END_ARG_INFO();

static const zend_function_entry spl_funcs_MultipleIterator[] = {
SPL_ME(MultipleIterator, __construct, arginfo_MultipleIterator_setflags, 0)
SPL_ME(MultipleIterator, __construct, arginfo_MultipleIterator_construct, 0)
SPL_ME(MultipleIterator, getFlags, arginfo_splobject_void, 0)
SPL_ME(MultipleIterator, setFlags, arginfo_MultipleIterator_setflags, 0)
SPL_ME(MultipleIterator, attachIterator, arginfo_MultipleIterator_attachIterator, 0)
Expand Down

0 comments on commit ce7552a

Please sign in to comment.