php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #62672
Patch bug_26272 revision 2012-08-05 12:54 UTC by lior dot k at zend dot com

Patch bug_26272 for SPL related Bug #62672

Patch version 2012-08-05 12:54 UTC

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

Developer: lior.k@zend.com

diff -ruN php-5.3.15.orig/ext/spl/spl_array.c php-5.3.15/ext/spl/spl_array.c
--- php-5.3.15.orig/ext/spl/spl_array.c	2012-07-13 01:17:37.000000000 +0300
+++ php-5.3.15/ext/spl/spl_array.c	2012-08-05 15:52:00.490849057 +0300
@@ -1783,7 +1783,7 @@
 	++p;
 
 	if (*p!='m') {
-		if (*p!='a' && *p!='O' && *p!='C') {
+		if (*p!='a' && *p!='O' && *p!='C' && *p!='r') {
 			goto outexcept;
 		}
 		intern->ar_flags &= ~SPL_ARRAY_CLONE_MASK;
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 12:01:27 2024 UTC