From: Zeev Suraski Date: Wed, 25 Feb 2004 14:58:47 +0000 (+0000) Subject: Fix signature X-Git-Tag: RELEASE_0_2_0~168 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bec3adb801f00bd10e7b4423eb7798f7d37e7e42;p=php Fix signature Marcus - please make sure that this is ok. Generally you are no longer allowed to override a method and with an incompatible signature --- diff --git a/ext/spl/spl_iterators.c b/ext/spl/spl_iterators.c index fc22ff4f99..594f2c49e8 100755 --- a/ext/spl/spl_iterators.c +++ b/ext/spl/spl_iterators.c @@ -1164,7 +1164,7 @@ SPL_METHOD(CachingRecursiveIterator, getChildren) } static -ZEND_BEGIN_ARG_INFO(arginfo_caching_rec_it___construct, 0) +ZEND_BEGIN_ARG_INFO_EX(arginfo_caching_rec_it___construct, 0, ZEND_RETURN_REFERENCE_AGNOSTIC, 2) ZEND_ARG_INFO(0, iterator) ZEND_ARG_INFO(0, getStrVal) ZEND_ARG_INFO(0, catch_getChildren)