16 lines
643 B
Diff
16 lines
643 B
Diff
X-Git-Url: http://git.php.net/?p=php-src.git;a=blobdiff_plain;f=ext%2Fspl%2Fspl_array.c;h=40fbb4c8f67eaca39d983218409c4384536e24b7;hp=2c2c87d027987390333ae0a3861556d2b78d959d;hb=04db57066deb73ef9c960a2c5bebad49195bc1bb;hpb=40c360194745ad09f066e6a1798d8c18dcdb58f4
|
|
|
|
diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c
|
|
index 2c2c87d..40fbb4c 100644
|
|
--- a/ext/spl/spl_array.c
|
|
+++ b/ext/spl/spl_array.c
|
|
@@ -1778,7 +1778,7 @@ SPL_METHOD(Array, unserialize)
|
|
++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;
|