cvs: phpdoc /en/appendices reserved.xml

From: Date: Thu, 01 Jan 2004 23:00:27 +0000
Subject: cvs: phpdoc /en/appendices reserved.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969357825@lists.php.net to get a copy of this message
kennyt Thu Jan 1 18:00:27 2004 EDT Modified files: /phpdoc/en/appendices reserved.xml Log: Added note that $_SERVER['SCRIPT_FILENAME'] is relative in certain CLI cases. Bug 26429. Index: phpdoc/en/appendices/reserved.xml diff -u phpdoc/en/appendices/reserved.xml:1.36 phpdoc/en/appendices/reserved.xml:1.37 --- phpdoc/en/appendices/reserved.xml:1.36 Sun Jun 22 17:39:04 2003 +++ phpdoc/en/appendices/reserved.xml Thu Jan 1 18:00:27 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.36 $ --> +<!-- $Revision: 1.37 $ --> <appendix id="reserved"> <title>List of Reserved Words</title> @@ -528,9 +528,18 @@ <varlistentry> <term>'<varname>SCRIPT_FILENAME</varname>'</term> <listitem> - <simpara> + <para> The absolute pathname of the currently executing script. - </simpara> + <note> + <para> + If a script is executed with the CLI, as a relative path, + such as <filename>file.php</filename> or + <filename>../file.php</filename>, + <varname>$_SERVER['SCRIPT_FILENAME']</varname> will + contain the relative path specified by the user. + </para> + </note> + </para> </listitem> </varlistentry>

« previous php.doc (#969357825) next »