protected function sendHttpVersionHeader(string $protocolVersion, int $statusCode,
        ?string $reasonPhrase = null):void
    {
        header(
            sprintf("HTTP/%s %d %s",
                $protocolVersion,
                $statusCode,
                $reasonPhrase ?? HttpReasonPhraseLookup::getReasonPhrase($statusCode)),
            true
        );
    }
protected function sendHttpVersionHeader(string $protocolVersion, int $statusCode,
        ?string $reasonPhrase = null):void
    {
        header(
            sprintf("HTTP/%s %d %s",
                $protocolVersion,
                $statusCode,
                $reasonPhrase ?? HttpReasonPhraseLookup::getReasonPhrase($statusCode)),
            true
        );
    }
protected function sendHttpVersionHeader ( string $ protocolVersion , int $ statusCode , ? string $ reasonPhrase = null ) : void { header ( sprintf ( "HTTP/%s %d %s" , $ protocolVersion , $ statusCode , $ reasonPhrase ?? HttpReasonPhraseLookup :: getReasonPhrase ( $ statusCode ) ) , true ) ; }
Sends the HTTP version header.

@param string $protocolVersion
@param int $statusCode
@param null|string $reasonPhrase
Sends the HTTP version header .