summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorAdam Harvey <aharvey@php.net>2016-12-30 11:39:45 -0800
committerAdam Harvey <aharvey@php.net>2016-12-30 11:39:45 -0800
commiteb25e1496277079423bdf2dee5aa4133c49e1f53 (patch)
treebf18b1f2404e57e88005e36da538830294b2e4d6 /UPGRADING
parentf5bf19ee3acaa7da75cf6fe99158d300e6d847a7 (diff)
downloadphp-git-eb25e1496277079423bdf2dee5aa4133c49e1f53.tar.gz
Document the changes to lexical scoping in 7.1.
Fixes bug #73844 (Cannot use lexical variable $variable as a parameter name inside array_walk()).
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING2
1 files changed, 2 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index c626884ee2..f311a5b9ad 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