note 102733 added to language.constants.predefined

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
Note that as mentioned, __FILE__ resolves any aliases. Other real path information, such as $_SERVER["SCRIPT_FILENAME"], doesn't.

__FILE__ => /volume1/web/mysite/admin/inc/includeFile.inc.php
$_SERVER["SCRIPT_FILENAME"] => /var/services/web/mysite/admin/products.php

If you need to compare one with the other, use 
realpath($_SERVER["SCRIPT_FILENAME"])
----
Server IP: 87.124.126.116
Probable Submitter: 195.137.106.159 (proxied: 195.137.106.159)
----
Manual Page -- http://www.php.net/manual/en/language.constants.predefined.php
Edit        -- https://master.php.net/note/edit/102733
Del: integrated  -- https://master.php.net/note/delete/102733/integrated
Del: useless     -- https://master.php.net/note/delete/102733/useless
Del: bad code    -- https://master.php.net/note/delete/102733/bad+code
Del: spam        -- https://master.php.net/note/delete/102733/spam
Del: non-english -- https://master.php.net/note/delete/102733/non-english
Del: in docs     -- https://master.php.net/note/delete/102733/in+docs
Del: other reasons-- https://master.php.net/note/delete/102733
Reject      -- https://master.php.net/note/reject/102733
Search      -- https://master.php.net/manage/user-notes.php
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.