Lines Matching refs:header
12 foreach (headers_list() as $header) {
13 if (preg_match("/$key/i", $header)) {
29 throw new ExceptionNotFound("No header was found with the header name $name");
54 * header('HTTP/1.1 301 Moved Permanently');
55 * header('HTTP/1.0 304 Not Modified');
56 * header('HTTP/1.1 404 Not Found');
76 header("$contentTypeHeader: $mime");
88 foreach ($headers as $header) {
89 $loc = strpos($header, ":");
93 $actualHeaderName = substr($header, 0, $loc);
96 $result[] = $header;
105 public static function extractHeaderValue(string $header): string
107 $positionDoublePointSeparator = strpos($header, ':');
111 return trim(substr($header, $positionDoublePointSeparator + 1));