public static function getStatusMessage($code) {
    if (array_key_exists($code, self::$status_messages)) {
      return self::$status_messages[$code];
    }
    return sprintf("Unknown Code %d", $code);
  }
public static function getStatusMessage($code) {
    if (array_key_exists($code, self::$status_messages)) {
      return self::$status_messages[$code];
    }
    return sprintf("Unknown Code %d", $code);
  }
public static function getStatusMessage ( $ code ) { if ( array_key_exists ( $ code , self :: $ status_messages ) ) { return self :: $ status_messages [ $ code ] ; } return sprintf ( "Unknown Code %d" , $ code ) ; }
Get the status message string for a given HTTP response code.

@param int $code The HTTP response code.

@returns string The string representation of the status code.
Get the status message string for a given HTTP response code .