]> granicus.if.org Git - php/commitdiff
Fix signature
authorZeev Suraski <zeev@php.net>
Wed, 25 Feb 2004 14:58:47 +0000 (14:58 +0000)
committerZeev Suraski <zeev@php.net>
Wed, 25 Feb 2004 14:58:47 +0000 (14:58 +0000)
Marcus - please make sure that this is ok.  Generally you are no longer
allowed to override a method and with an incompatible signature

ext/spl/spl_iterators.c

index fc22ff4f99b3c0bf55b576b550d20568e0dcf757..594f2c49e8346caa3f570dd0db11cbd649d8674c 100755 (executable)
@@ -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)