Home
last modified time | relevance | path

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

123456789

/PHP-7.4/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-7.4/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-7.4/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/');
H A Dheader_redirection_014.phpt6 header('HTTP/1.1 399 Choose Your Own Adventure');
7 header('Location: http://example.com/');
/PHP-7.4/ext/ffi/tests/
H A Dbug79177.phpt11 $header = <<<HEADER
17 $ffi = FFI::cdef($header);
20 $ffi = FFI::cdef($header, 'php_zend_test.dll');
22 $ffi = FFI::cdef($header, ffi_get_php_dll_name());
/PHP-7.4/ext/gd/tests/
H A Dimagegd_truecolor.phpt21 $header = unpack('nsignature/nwidth/nheight/Ctruecolor', $buffer);
22 printf("signature: %d\n", $header['signature']);
23 printf("truecolor: %d\n", $header['truecolor']);
H A Dbug73159.phpt15 $header = unpack('@12/nformat', $buffer);
16 printf("format: %d\n", $header['format']);
/PHP-7.4/ext/fileinfo/libmagic/
H A Dtar.h53 struct header { struct
68 } header; member
/PHP-7.4/ext/sodium/tests/
H A Dcrypto_secretstream.phpt19 $header = $res[1];
24 $stream = sodium_crypto_secretstream_xchacha20poly1305_init_pull($header, $key);
37 $stream = sodium_crypto_secretstream_xchacha20poly1305_init_pull($header, $key);
43 $stream = sodium_crypto_secretstream_xchacha20poly1305_init_pull($header, $key);
/PHP-7.4/tests/basic/
H A Dreq44164.phpt2 Req #44164 (Handle "Content-Length" HTTP header when zlib.output_compression active)
14 header("Content-length: 200");
/PHP-7.4/sapi/cli/tests/
H A Dbug64878.phpt2 Bug #64878 (304 responses return Content-Type header)
12 php_cli_server_start('header("HTTP/1.1 304 Not Modified")', null);
/PHP-7.4/ext/standard/tests/mail/
H A Dbug80706.phpt34 $header = imap_fetchheader($imap_stream, $i);
35 echo "X-Mailer header found: ";
36 var_dump(strpos($header, 'X-Mailer: bug80706') !== false);
73 X-Mailer header found: bool(true)
75 X-Mailer header found: bool(true)
/PHP-7.4/ext/
H A Dext_skel.php257 static $header;
259 if (!$header) {
264 $header = <<<"HEADER"
285 …$header = sprintf('/* %s extension for PHP (c) %d %s */', $options['ext'], date('Y'), $options['au…
287 $header = sprintf('/* %s extension for PHP */', $options['ext']);
292 $source = str_replace('%HEADER%', $header, $source);

Completed in 32 milliseconds

123456789