From: Gustavo André dos Santos Lopes Date: Wed, 7 Sep 2011 15:28:12 +0000 (+0000) Subject: - Fixed doc bug #54657: Function parameters can no longer be named after X-Git-Tag: php-5.5.0alpha1~1228 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=26a80c72afa5dd131b6b56f15d0c92cd20197cd6;p=php - Fixed doc bug #54657: Function parameters can no longer be named after superglobal variables. --- diff --git a/UPGRADING b/UPGRADING index 6ff8ad9f47..bd73451a5f 100755 --- a/UPGRADING +++ b/UPGRADING @@ -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 =====================================