note 119434 added to migration70.new-features

From: Date: Sat, 04 Jun 2016 08:06:00 +0000
Subject: note 119434 added to migration70.new-features
Groups: php.notes 
Request: Send a blank email to php-notes+get-205661@lists.php.net to get a copy of this message
原示例代码 -------------------------------------- // converts all objects into __PHP_Incomplete_Class object except those of MyClass and MyClass2 $data = unserialize($foo, ["allowed_classes" => ["MyClass", "MyClass2"]); --------------------------------------- 经测试,语法错误,因为少写了一个 “]”;正确的代码如下: $data = unserialize($foo, ["allowed_classes" => ["MyClass", "MyClass2"]]); ---- Server IP: 72.52.91.14 Probable Submitter: 121.33.255.228 ---- Manual Page -- http://php.net/manual/en/migration70.new-features.php Edit -- https://master.php.net/note/edit/119434 Del: integrated -- https://master.php.net/note/delete/119434/integrated Del: useless -- https://master.php.net/note/delete/119434/useless Del: bad code -- https://master.php.net/note/delete/119434/bad+code Del: spam -- https://master.php.net/note/delete/119434/spam Del: non-english -- https://master.php.net/note/delete/119434/non-english Del: in docs -- https://master.php.net/note/delete/119434/in+docs Del: other reasons-- https://master.php.net/note/delete/119434 Reject -- https://master.php.net/note/reject/119434 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#205661) next »