mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- Fixed doc bug #54657: Function parameters can no longer be named after
superglobal variables.
This commit is contained in:
parent
36378d34f8
commit
26a80c72af
1 changed files with 4 additions and 0 deletions
|
@ -102,6 +102,10 @@ UPGRADE NOTES - PHP X.Y
|
|||
$test = new StdClass;
|
||||
$test->baz = 1;
|
||||
|
||||
- In previous versions, names of superglobals could be used for parameter
|
||||
names, thereby shadowing the corresponding superglobal. This now causes a
|
||||
fatal error such as "Cannot re-assign auto-global variable GLOBALS".
|
||||
|
||||
=====================================
|
||||
4. Changes made to existing functions
|
||||
=====================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue