$_SERVER['SERVER_PROTOCOL']

HTTP/1.1

HTTP/2 wird nicht verwendet!