vrana Mon May 2 08:42:02 2005 EDT
Modified files:
/phpdoc/en/language constants.xml
Log:
Path of __FILE__ (bug #32902)
http://cvs.php.net/diff.php/phpdoc/en/language/constants.xml?r1=1.39&r2=1.40&ty=u
Index: phpdoc/en/language/constants.xml
diff -u phpdoc/en/language/constants.xml:1.39
phpdoc/en/language/constants.xml:1.40
--- phpdoc/en/language/constants.xml:1.39 Sat Aug 14 01:59:20 2004
+++ phpdoc/en/language/constants.xml Mon May 2 08:42:02 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.39 $ -->
+<!-- $Revision: 1.40 $ -->
<chapter id="language.constants">
<title>Constants</title>
@@ -190,6 +190,9 @@
<entry>
The full path and filename of the file. If used inside an include,
the name of the included file is returned.
+ Since PHP 4.0.2, <constant>__FILE__</constant> always contains an
+ absolute path whereas in older versions it contained relative path
+ under some circumstances.
</entry>
</row>
<row>