PHPverse 2025

Voting

: min(nine, one)?
(Example: nine)

The Note You're Voting On

php at ober-mail dot de
5 years ago
Since PHP 5.4, the function `http_​response_​code()` can be used to set the response code instead of using the `header()` function, which requires to also set the correct protocol version (which can lead to problems, as seen in other comments).

<< Back to user notes page

To Top