©
This document uses PHP Chinese website manual Release
(PECL pecl_http >= 0.23.0)
HttpMessage::setResponseStatus — Set response status
$status
)Set the Response Status of the HTTP message (i.e. the string following the response code).
status
the response status text
Returns TRUE
on success or FALSE
if the message is not of type
HttpMessage:: TYPE_RESPONSE
.