]> granicus.if.org Git - php/commitdiff
Update UPGRADING wrt. bug #72785
authorChristoph M. Becker <cmbecker69@gmx.de>
Fri, 30 Dec 2016 13:17:38 +0000 (14:17 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Fri, 30 Dec 2016 13:17:38 +0000 (14:17 +0100)
UPGRADING

index 0e3115e19ae57b6ce921dc16b7a1dd8a3df16d0e..c626884ee2deabd6efc36a3de3eaf0fca8370b4f 100644 (file)
--- a/UPGRADING
+++ b/UPGRADING
@@ -90,6 +90,9 @@ PHP 7.1 UPGRADE NOTES
   
     now results in the array ["b" => 1, "a" => 1], while for PHP 7.0 the result
     was ["a" => 1, "b" => 1].
+  . The allowed_classes element of the $options parameter of unserialize() is
+    now strictly typed, i.e. if anything other than an array or a boolean is
+    given, unserialize() returns FALSE and issues an E_WARNING.
 
 - JSON:
   . The serialize_precision is used instead of precision when encoding double