- Fixed doc bug #54657: Function parameters can no longer be named after

superglobal variables.
This commit is contained in:
Gustavo André dos Santos Lopes 2011-09-07 15:28:12 +00:00
parent 36378d34f8
commit 26a80c72af

View file

@ -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
=====================================