]> granicus.if.org Git - php/commitdiff
- Fixed doc bug #54657: Function parameters can no longer be named after
authorGustavo André dos Santos Lopes <cataphract@php.net>
Wed, 7 Sep 2011 15:28:12 +0000 (15:28 +0000)
committerGustavo André dos Santos Lopes <cataphract@php.net>
Wed, 7 Sep 2011 15:28:12 +0000 (15:28 +0000)
  superglobal variables.

UPGRADING

index f5fcfb76a053874a99fbbac95fc4768f71622a1f..8618742482bc1d5d3c398a8c82ce09d3aee8562f 100755 (executable)
--- a/UPGRADING
+++ b/UPGRADING
@@ -116,6 +116,10 @@ UPGRADE NOTES - PHP X.Y
   
   Now emits a Fatal error due the incompatible declaration.
 
+- 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
 =====================================