note 119636 added to migration70.new-features
| From: | qq961085397 at 163 dot com | Date: | Fri, 22 Jul 2016 13:36:07 +0000 |
| Subject: | note 119636 added to migration70.new-features | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-206070@lists.php.net to get a copy of this message | ||
Filtered unserialize()
when i run this new feature in my PS,
like this :
$data2 = unserialize($serializedObj2, ["allowed_classes" => ["MyClass1",
"MyClass2"]);
or that:
$data2 = unserialize($serializedObj2, ["allowed_classes" => ["MyClass1",
"MyClass2"}]);
it cant work like manual or correct
so ,i delete the [] that wrap the "MyClass1", "MyClass2",
then:
it works ,note that for every phper
----
Server IP: 72.52.91.14
Probable Submitter: 14.120.234.121
----
Manual Page -- http://php.net/manual/en/migration70.new-features.php
Edit -- https://master.php.net/note/edit/119636
Del: integrated -- https://master.php.net/note/delete/119636/integrated
Del: useless -- https://master.php.net/note/delete/119636/useless
Del: bad code -- https://master.php.net/note/delete/119636/bad+code
Del: spam -- https://master.php.net/note/delete/119636/spam
Del: non-english -- https://master.php.net/note/delete/119636/non-english
Del: in docs -- https://master.php.net/note/delete/119636/in+docs
Del: other reasons-- https://master.php.net/note/delete/119636
Reject -- https://master.php.net/note/reject/119636
Search -- https://master.php.net/manage/user-notes.php