Skip to content

[Docs] php://input is reusable #4555

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
siliconforks opened this issue Mar 22, 2025 · 0 comments
Open

[Docs] php://input is reusable #4555

siliconforks opened this issue Mar 22, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@siliconforks
Copy link

Affected page

https://github.com/php/doc-en/blob/master/language/wrappers/php.xml

Current issue

In the documentation for "New features" in PHP 5.6 it mentions that "php://input is reusable": "php://input may now be reopened and read as many times as required."

https://github.com/php/doc-en/blob/master/appendices/migration56/new-features.xml

As far as I can see, this doesn't seem to be discussed on the page for php://input, or anywhere else in the documentation?

It seems like this is something that should be mentioned in the main part of the documentation, not just in the PHP 5.6 section. (Especially if the PHP 5.6 section is likely to be removed soon - then it won't be documented anywhere.)

Suggested improvement

I would suggest mentioning this in the page https://github.com/php/doc-en/blob/master/language/wrappers/php.xml - that seems to be the primary location where php://input is documented.

@siliconforks siliconforks added the enhancement New feature or request label Mar 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant