note 13312 deleted from language.constants by danbrown
| From: | danbrown@php.net | Date: | Tue, 26 Jul 2011 20:07:43 +0000 |
| Subject: | note 13312 deleted from language.constants by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-181918@lists.php.net to get a copy of this message | ||
Note Submitter: afuse at yahoo dot com
----
The pre-defined constant '__FILE__' does not work in same way at every version of PHP.
Some version of PHP has the relative path, and some other has the absolute path on __FILE__
constant..
Please be carefull in use..
[PS]
I have not tested at all versions of PHP but the version of 4.04pl.. and 4.05 are certainly not
working in same way.. If you want to see that bug(?), I can show you an example.