[DOC-CVS] [doc-en] master: cli: Document built-in server index lookup for file-like paths (8.4.0) (#5782)
[email protected] (Louis-Arnaud via GitHub)
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Louis-Arnaud (lacatoire)
Committer: GitHub (web-flow)
Pusher: lacatoire
Date: 2026-08-26T12:11:11+02:00
Commit: https://github.com/php/doc-en/commit/14f641dc7a2eb3ab1f97062f0a74f7cdb59ae708
Raw diff: https://github.com/php/doc-en/commit/14f641dc7a2eb3ab1f97062f0a74f7cdb59ae708.diff
cli: Document built-in server index lookup for file-like paths (8.4.0) (#5782)
Changed paths:
M features/commandline.xml
Diff:
diff --git a/features/commandline.xml b/features/commandline.xml
index c1bdfa31690d..5259ddb1b07c 100644
--- a/features/commandline.xml
+++ b/features/commandline.xml
@@ -1656,6 +1656,15 @@ php >
the URI. Otherwise a 404 response code is returned.
</para>
+ <note>
+ <simpara>
+ As of PHP 8.4.0, this index file lookup is performed even when the
+ requested path looks like a file, i.e. its last path component contains a
+ period, but cannot be located. Previously, such requests skipped the
+ lookup and immediately returned a 404 response.
+ </simpara>
+ </note>
+
<para>
If a PHP file is given on the command line when the web server is
started it is treated as a "router" script. The script is run at