note 112807 added to language.namespaces.faq
| From: | okaresz | Date: | Thu, 25 Jul 2013 08:31:14 +0000 |
| Subject: | note 112807 added to language.namespaces.faq | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-195762@lists.php.net to get a copy of this message | ||
To correct manolachef's answer: define() ALWAYS defines constants in the GLOBAL namespace.
As nl-x at bita dot nl states in the note at http://www.php.net/manual/en/function.define.php,
the constant "NULL" can be defined with define() case-sensitively, but can only be
retrieved with constant(), leaving the meaning of NULL uppercase keyword as the only value of the
type null.
----
Server IP: 69.147.83.199
Probable Submitter: 77.234.82.141
----
Manual Page -- http://php.net/manual/en/language.namespaces.faq.php
Edit -- https://master.php.net/note/edit/112807
Del: integrated -- https://master.php.net/note/delete/112807/integrated
Del: useless -- https://master.php.net/note/delete/112807/useless
Del: bad code -- https://master.php.net/note/delete/112807/bad+code
Del: spam -- https://master.php.net/note/delete/112807/spam
Del: non-english -- https://master.php.net/note/delete/112807/non-english
Del: in docs -- https://master.php.net/note/delete/112807/in+docs
Del: other reasons-- https://master.php.net/note/delete/112807
Reject -- https://master.php.net/note/reject/112807
Search -- https://master.php.net/manage/user-notes.php