php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #61303
Patch server.xml.patch revision 2013-05-06 23:37 UTC by pete at petermcdonald dot co dot uk

Patch server.xml.patch for Documentation problem Bug #61303

Patch version 2013-05-06 23:37 UTC

Return to Bug #61303 | Download this patch
Patch Revisions:

Developer: pete@petermcdonald.co.uk

--- en/language/predefined/variables/server.xml	(revision 330177)
+++ en/language/predefined/variables/server.xml	(working copy)
@@ -48,8 +48,8 @@
        The filename of the currently executing script, relative to
        the document root. For instance,
        <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>.
+       address <filename>http://example.com/foo/bar.php</filename>
+       would be <filename>/foo/bar.php</filename>.
        The <link linkend="language.constants.predefined">__FILE__</link>
        constant contains the full path and filename of the current (i.e.
        included) file.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 13:00:02 2026 UTC