com php-src: Document the changes to lexical scoping in 7.1.: UPGRADING

From: Date: Fri, 30 Dec 2016 19:39:45 +0000
Subject: com php-src: Document the changes to lexical scoping in 7.1.: UPGRADING
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-96451@lists.php.net to get a copy of this message
Commit: eb25e1496277079423bdf2dee5aa4133c49e1f53 Author: Adam Harvey <aharvey@php.net> Fri, 30 Dec 2016 11:39:45 -0800 Parents: f5bf19ee3acaa7da75cf6fe99158d300e6d847a7 Branches: PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=eb25e1496277079423bdf2dee5aa4133c49e1f53 Log: Document the changes to lexical scoping in 7.1. Fixes bug #73844 (Cannot use lexical variable $variable as a parameter name inside array_walk()). Bugs: https://bugs.php.net/73844 Changed paths: M UPGRADING Diff: diff --git a/UPGRADING b/UPGRADING index c626884..f311a5b 100644 --- a/UPGRADING +++ b/UPGRADING @@ -93,6 +93,8 @@ PHP 7.1 UPGRADE NOTES . 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. + . $this, autoglobals, and variables with the same name as a parameter can no + longer be bound to a closure via the use construct. - JSON: . The serialize_precision is used instead of precision when encoding double

« previous php.cvs (#96451) next »