vrana Thu Aug 19 04:05:14 2004 EDT
Modified files: /phpdoc/en/appendices reserved.xml Log: Link to __FILE__ (bug #29746) http://cvs.php.net/diff.php/phpdoc/en/appendices/reserved.xml?r1=1.43&r2=1.44&ty=u Index: phpdoc/en/appendices/reserved.xml diff -u phpdoc/en/appendices/reserved.xml:1.43 phpdoc/en/appendices/reserved.xml:1.44 --- phpdoc/en/appendices/reserved.xml:1.43 Tue Aug 3 16:59:42 2004 +++ phpdoc/en/appendices/reserved.xml Thu Aug 19 04:05:13 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.43 $ --> +<!-- $Revision: 1.44 $ --> <appendix id="reserved"> <title>List of Reserved Words</title> @@ -296,6 +296,9 @@ <varname>$_SERVER['PHP_SELF']</varname> in a script at the address <filename>http://example.com/test.php/foo.bar</filename> would be <filename>/test.php/foo.bar</filename>. + The <link linkend="language.constants.predefined">__FILE__</link> + constant contains the full path and filename of the current (i.e. + included) file. </simpara> <simpara> If PHP is running as a command-line processor, this variable @@ -594,6 +597,9 @@ <simpara> Contains the current script's path. This is useful for pages which need to point to themselves. + The <link linkend="language.constants.predefined">__FILE__</link> + constant contains the full path and filename of the current (i.e. + included) file. </simpara> </listitem> </varlistentry>