Home
last modified time | relevance | path

Searched refs:header (Results 26 – 50 of 269) sorted by relevance

1234567891011

/php-src/ext/phar/
H A Dshortarc.php58 header("Cache-Control: no-cache, must-revalidate");
59 header("Pragma: no-cache");
70 header('HTTP/1.1 301 Moved Permanently');
71 header('Location: ' . $_SERVER['REQUEST_URI'] . '/' . $pt);
76 header('HTTP/1.0 404 Not Found');
82 header('Content-Type: text/plain');
83 header('Content-Length: ' . filesize($a));
96 header('Content-Type: ' .$mimes[$b['extension']]);
97 header('Content-Length: ' . filesize($a));
/php-src/ext/ffi/tests/
H A Dbug79177.phpt9 $header = <<<HEADER
15 $ffi = FFI::cdef($header);
18 $ffi = FFI::cdef($header, 'php_zend_test.dll');
20 $ffi = FFI::cdef($header, ffi_get_php_dll_name());
H A Dbug80847.phpt13 $header = <<<HEADER
27 $ffi = FFI::cdef($header);
30 $ffi = FFI::cdef($header, 'php_zend_test.dll');
32 $ffi = FFI::cdef($header, ffi_get_php_dll_name());
/php-src/sapi/cgi/tests/
H A Dbug61605.phpt11 header("A: first");
12 header("A: second", TRUE);
14 header("A: third", FALSE);
H A Dbug80849-cgi.phpt2 Bug #80849 (HTTP Status header truncation)
6 header('HTTP/1.1 201 ' . str_repeat('A', 1014), true);
/php-src/ext/pcre/pcre2lib/sljit/allocator_src/
H A DsljitProtExecAllocatorNetBSD.c66 struct sljit_chunk_header *header = ((struct sljit_chunk_header *)chunk) - 1; in free_chunk() local
68 munmap(header->executable, size); in free_chunk()
69 munmap((void *)header, size); in free_chunk()
/php-src/ext/dom/tests/modern/html/encoding/
H A DHTMLDocument_encoding_edge_case_07.phpt9 $header = "<!doctype html><html><head><meta charset=\"gb18030\"></head><body>";
10 $padding_required_until_4095 = 4095 - strlen($header);
12 $dom = DOM\HTMLDocument::createFromString($header . str_repeat("A", $padding_required_until_4095) .…
H A DHTMLDocument_encoding_edge_case_05.phpt9 $header = "<!doctype html><html><head><meta charset=\"gb18030\"></head><body>";
10 $padding_required_until_4094 = 4094 - strlen($header);
12 $dom = DOM\HTMLDocument::createFromString($header . str_repeat("A", $padding_required_until_4094) .…
/php-src/ext/standard/tests/general_functions/
H A Dbug71891.phpt7 echo 'header';
14 header
H A Dheader_redirection_003.phpt2 Location: headers respect the header() response code parameter
6 header('Location: http://example.com/', true, 404);
H A Dheader_redirection_005.phpt6 header('HTTP/1.1 201 Created');
7 header('Location: http://example.com/');
H A Dheader_redirection_008.phpt6 header('HTTP/1.1 302 Found');
7 header('Location: http://example.com/');
H A Dheader_redirection_002.phpt6 header("HTTP/1.1 418 I'm a Teapot");
7 header('Location: http://example.com/');
H A Dheader_redirection_006.phpt6 header('HTTP/1.1 300 Multiple Choices');
7 header('Location: http://example.com/');
H A Dheader_redirection_007.phpt6 header('HTTP/1.1 301 Moved Permanently');
7 header('Location: http://example.com/');
H A Dheader_redirection_009.phpt6 header('HTTP/1.1 303 See Other');
7 header('Location: http://example.com/');
H A Dheader_redirection_010.phpt6 header('HTTP/1.1 304 Not Modified');
7 header('Location: http://example.com/');
H A Dheader_redirection_011.phpt6 header('HTTP/1.1 305 Use Proxy');
7 header('Location: http://example.com/');
H A Dheader_redirection_012.phpt6 header('HTTP/1.1 307 Temporary Redirect');
7 header('Location: http://example.com/');
H A Dheader_redirection_013.phpt6 header('HTTP/1.1 308 Permanent Redirect');
7 header('Location: http://example.com/');
/php-src/ext/sodium/tests/
H A Dcrypto_secretstream.phpt20 $header = $res[1];
25 $stream = sodium_crypto_secretstream_xchacha20poly1305_init_pull($header, $key);
38 $stream = sodium_crypto_secretstream_xchacha20poly1305_init_pull($header, $key);
44 $stream = sodium_crypto_secretstream_xchacha20poly1305_init_pull($header, $key);
/php-src/ext/gd/tests/
H A Dimagegd_truecolor.phpt25 $header = unpack('nsignature/nwidth/nheight/Ctruecolor', $buffer);
26 printf("signature: %d\n", $header['signature']);
27 printf("truecolor: %d\n", $header['truecolor']);
/php-src/ext/fileinfo/libmagic/
H A Dtar.h53 struct header { struct
68 } header; member
/php-src/tests/basic/
H A Dreq44164.phpt2 Req #44164 (Handle "Content-Length" HTTP header when zlib.output_compression active)
11 header("Content-length: 200");
/php-src/ext/standard/tests/mail/
H A Dmail_basic6.phpt16 // Valid header
30 // Valid header
40 // Valid header
52 // Invalid header
62 // Invalid header
72 // Invalid header
82 // Invalid header
92 // Invalid header
102 // Invalid header
112 // Invalid header
[all …]

Completed in 79 milliseconds

1234567891011