src/Header.php
final public static function get_header_string(int $code) {
		if (!isset(self::$header_string[$code]))
			$code = 404;
		return [
			'code' => $code,
			'msg'  => self::$header_string[$code],
		];
	}
final public static function get_header_string(int $code) {
		if (!isset(self::$header_string[$code]))
			$code = 404;
		return [
			'code' => $code,
			'msg'  => self::$header_string[$code],
		];
	}
final public static function get_header_string ( int $ code ) { if ( ! isset ( self :: $ header_string [ $ code ] ) ) $ code = 404 ; return [ 'code' => $ code , 'msg' => self :: $ header_string [ $ code ] , ] ; }
Get HTTP code.

@param int $code HTTP code.
@return array A dict containing code and message if
`$code` is valid, 404 dict otherwise.
Get HTTP code .