diff options
author | Adam Harvey <aharvey@php.net> | 2016-12-30 11:39:45 -0800 |
---|---|---|
committer | Adam Harvey <aharvey@php.net> | 2016-12-30 11:39:45 -0800 |
commit | eb25e1496277079423bdf2dee5aa4133c49e1f53 (patch) | |
tree | bf18b1f2404e57e88005e36da538830294b2e4d6 /UPGRADING | |
parent | f5bf19ee3acaa7da75cf6fe99158d300e6d847a7 (diff) | |
download | php-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-- | UPGRADING | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |