marshalProtocolVersionFromSapi()
marshalProtocolVersionFromSapi(array $server) : string
Return HTTP protocol version (X.Y) as discovered within a `$_SERVER` array.
Parameters
array | $server |
Throws
- \UnexpectedValueException
if the $server['SERVER_PROTOCOL'] value is malformed.