src/rehyved/Http/HttpStatus.php
public static function isServerError(int $statusCode): bool
    {
        return ($statusCode >= HttpStatus::SERVER_ERROR) && ($statusCode < HttpStatus::SERVER_ERROR_END);
    }
public static function isServerError(int $statusCode): bool
    {
        return ($statusCode >= HttpStatus::SERVER_ERROR) && ($statusCode < HttpStatus::SERVER_ERROR_END);
    }
public static function isServerError ( int $ statusCode ) : bool { return ( $ statusCode >= HttpStatus :: SERVER_ERROR ) && ( $ statusCode < HttpStatus :: SERVER_ERROR_END ) ; }
Checks if the provided status code falls in the Server error range of HTTP statuses
@param int $statusCode the status code to check
@return bool TRUE if it falls into the Server error range, FALSE if not
Checks if the provided status code falls in the Server error range of HTTP statuses