From: Felipe Pena Date: Tue, 1 Mar 2011 00:13:23 +0000 (+0000) Subject: - Fixed SplObjectStorage::offsetSet arginfo, reported in bug #54118 X-Git-Tag: php-5.3.6RC2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53b1c76efe7be91dd77c28239b3099a1e4a364cd;p=php - Fixed SplObjectStorage::offsetSet arginfo, reported in bug #54118 --- diff --git a/ext/spl/spl_observer.c b/ext/spl/spl_observer.c index 7910a0d775..df5dc4414c 100755 --- a/ext/spl/spl_observer.c +++ b/ext/spl/spl_observer.c @@ -843,11 +843,6 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_offsetGet, 0, 0, 1) ZEND_ARG_INFO(0, object) ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_offsetSet, 0, 0, 2) - ZEND_ARG_INFO(0, object) - ZEND_ARG_INFO(0, info) -ZEND_END_ARG_INFO() - ZEND_BEGIN_ARG_INFO(arginfo_splobject_void, 0) ZEND_END_ARG_INFO() @@ -873,7 +868,7 @@ static const zend_function_entry spl_funcs_SplObjectStorage[] = { SPL_ME(SplObjectStorage, serialize, arginfo_splobject_void,0) /* ArrayAccess */ SPL_MA(SplObjectStorage, offsetExists, SplObjectStorage, contains, arginfo_offsetGet, 0) - SPL_MA(SplObjectStorage, offsetSet, SplObjectStorage, attach, arginfo_offsetSet, 0) + SPL_MA(SplObjectStorage, offsetSet, SplObjectStorage, attach, arginfo_attach, 0) SPL_MA(SplObjectStorage, offsetUnset, SplObjectStorage, detach, arginfo_offsetGet, 0) SPL_ME(SplObjectStorage, offsetGet, arginfo_offsetGet, 0) {NULL, NULL, NULL}