|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-08-18 08:13 UTC] stas@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: stas
[2014-08-18 08:13 UTC] stas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 05:00:01 2025 UTC |
Description: ------------ Saying that a c-constant defined in pseudo-main is a "superglobal" is confusing. I understand it's trying to say that it is always in scope, but this clashes with php.net which only uses the term "superglobal" to refer to special variable tokens ("$GLOBALS", "$_SERVER", etc) that will be always treated as referring to a global variable instead of a local variable. A few sentences later this is phrased more clearly/correctly saying "A constant defined at the pseudo-main level has script scope". (This may have been fixed already).