note 119636 rejected from migration70.new-features by cmb
| From: | cmb@php.net | Date: | Fri, 22 Jul 2016 13:59:21 +0000 |
| Subject: | note 119636 rejected from migration70.new-features by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-206071@lists.php.net to get a copy of this message | ||
Note Submitter: qq961085397 at 163 dot com
----
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