php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

Patch SPLObjectStorage_offsetSet_Reflection for SPL related Bug #54118

Patch version 2011-02-28 11:56 UTC

Return to Bug #54118 | Download this patch
Patch Revisions:

Developer: rquadling@php.net

Index: spl_observer.c
===================================================================
--- spl_observer.c	(revision 308758)
+++ spl_observer.c	(working copy)
@@ -843,7 +843,7 @@
 	ZEND_ARG_INFO(0, object)
 ZEND_END_ARG_INFO()
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_offsetSet, 0, 0, 2)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_offsetSet, 0, 0, 1)
 	ZEND_ARG_INFO(0, object)
 	ZEND_ARG_INFO(0, info)
 ZEND_END_ARG_INFO()
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Jul 31 07:01:23 2021 UTC