[doc-en] master: Mention that php://input can be read multiple times (#5954)
| From: | qodelicious via GitHub | Date: | Sun, 18 Oct 2026 09:02:26 +0000 |
| Subject: | [doc-en] master: Mention that php://input can be read multiple times (#5954) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23847@lists.php.net to get a copy of this message | ||
Author: qodelicious (qodelicious)
Committer: GitHub (web-flow)
Pusher: lacatoire
Date: 2026-10-18T11:02:23+02:00
Commit: https://github.com/php/doc-en/commit/6de6d6a839a44f594b4f82609bfafb95bdb3d3ff
Raw diff: https://github.com/php/doc-en/commit/6de6d6a839a44f594b4f82609bfafb95bdb3d3ff.diff
Mention that php://input can be read multiple times (#5954)
Fixes #4555
Changed paths:
M language/wrappers/php.xml
Diff:
diff --git a/language/wrappers/php.xml b/language/wrappers/php.xml
index acebaf9bd26f..b902e28fc647 100644
--- a/language/wrappers/php.xml
+++ b/language/wrappers/php.xml
@@ -43,6 +43,7 @@
<simpara>
<filename>php://input</filename> is a read-only stream that allows you to
read raw data from the request body.
+ It can be opened and read as many times as needed.
<filename>php://input</filename> is not available in POST requests with
<literal>enctype="multipart/form-data"</literal> if
<link
linkend="ini.enable-post-data-reading">enable_post_data_reading</link>