wp/lib/blobfolio/wp/bm/debug.php
protected function make_results_header($header, $major=true) {
		if (!$header) {
			return '';
		}

		if ($major) {
			if ('TESTS' === $header) {
				return static::ASCII_VALIDATION;
			}
			elseif ('ENVIRONMENT' === $header) {
				return static::ASCII_SYSTEM;
			}
		}
		else {
			$header = "  $header  ";
			$length = strlen($header);
			$border = str_repeat('-', $length);
			return "+{$border}+\n|{$header}|\n+{$border}+";
		}

		return '';
	}
protected function make_results_header($header, $major=true) {
		if (!$header) {
			return '';
		}

		if ($major) {
			if ('TESTS' === $header) {
				return static::ASCII_VALIDATION;
			}
			elseif ('ENVIRONMENT' === $header) {
				return static::ASCII_SYSTEM;
			}
		}
		else {
			$header = "  $header  ";
			$length = strlen($header);
			$border = str_repeat('-', $length);
			return "+{$border}+\n|{$header}|\n+{$border}+";
		}

		return '';
	}
Result Header

@param string $header Header.
@param bool $major Major section.
@return string Header.