[PHP-BUG] Bug #67769 [NEW]: c-constant being a superglobal

[email protected] ("[email protected]")
Newsgroups php.standards
Message-ID <[email protected]>
From:             joelm
Operating system: 
PHP version:      Irrelevant
Package:          PHP Language Specification
Bug Type:         Bug
Bug description:c-constant being a superglobal

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).


-- 
Edit bug report at https://bugs.php.net/bug.php?id=67769&edit=1
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.