Home
last modified time | relevance | path

Searched refs:headers (Results 1 – 25 of 178) sorted by relevance

12345678

/PHP-8.0/ext/openssl/tests/
H A Dopenssl_cms_encrypt_basic.phpt17 $headers = array("test@test", "testing openssl_cms_encrypt()");
22 var_dump(openssl_cms_encrypt($infile, $outfile, $single_cert, $headers));
23 var_dump(openssl_cms_encrypt($infile, $outfile, openssl_x509_read($single_cert), $headers));
28 var_dump(openssl_cms_encrypt($wrong, $outfile, $single_cert, $headers));
29 var_dump(openssl_cms_encrypt($empty, $outfile, $single_cert, $headers));
30 var_dump(openssl_cms_encrypt($infile, $empty, $single_cert, $headers));
31 var_dump(openssl_cms_encrypt($infile, $outfile, $wrong, $headers));
32 var_dump(openssl_cms_encrypt($infile, $outfile, $empty, $headers));
33 var_dump(openssl_cms_encrypt($infile, $outfile, $multi_certs, $headers));
34 …p(openssl_cms_encrypt($infile, $outfile, array_map('openssl_x509_read', $multi_certs) , $headers));
H A Dopenssl_pkcs7_encrypt_basic.phpt19 $headers = array("test@test", "testing openssl_pkcs7_encrypt()");
24 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $single_cert, $headers));
25 var_dump(openssl_pkcs7_encrypt($infile, $outfile, openssl_x509_read($single_cert), $headers));
29 var_dump(openssl_pkcs7_encrypt($wrong, $outfile, $single_cert, $headers));
30 var_dump(openssl_pkcs7_encrypt($empty, $outfile, $single_cert, $headers));
31 var_dump(openssl_pkcs7_encrypt($infile, $empty, $single_cert, $headers));
32 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $wrong, $headers));
33 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $empty, $headers));
34 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $multi_certs, $headers));
35 …openssl_pkcs7_encrypt($infile, $outfile, array_map('openssl_x509_read', $multi_certs) , $headers));
H A Dopenssl_pkcs7_sign_basic.phpt16 $headers = array("test@test", "testing openssl_pkcs7_sign()");
21 var_dump(openssl_pkcs7_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers)…
22 var_dump(openssl_pkcs7_sign($infile, $outfile, $single_cert, $privkey, $headers));
25 var_dump(openssl_pkcs7_sign($wrong, $outfile, $single_cert, $privkey, $headers));
26 var_dump(openssl_pkcs7_sign($empty, $outfile, $single_cert, $privkey, $headers));
27 var_dump(openssl_pkcs7_sign($infile, $empty, $single_cert, $privkey, $headers));
28 var_dump(openssl_pkcs7_sign($infile, $outfile, $wrong, $privkey, $headers));
29 var_dump(openssl_pkcs7_sign($infile, $outfile, $empty, $privkey, $headers));
30 var_dump(openssl_pkcs7_sign($infile, $outfile, $single_cert, $wrong, $headers));
H A Dopenssl_cms_sign_basic.phpt16 $headers = array("test@test", "testing openssl_cms_sign()");
21 var_dump(openssl_cms_sign($infile, $outfile, openssl_x509_read($single_cert), $privkey, $headers));
26 var_dump(openssl_cms_sign($infile, $outfile, $single_cert, $privkey, $headers));
29 var_dump(openssl_cms_sign($wrong, $outfile, $single_cert, $privkey, $headers));
30 var_dump(openssl_cms_sign($empty, $outfile, $single_cert, $privkey, $headers));
31 var_dump(openssl_cms_sign($infile, $empty, $single_cert, $privkey, $headers));
32 var_dump(openssl_cms_sign($infile, $outfile, $wrong, $privkey, $headers));
33 var_dump(openssl_cms_sign($infile, $outfile, $empty, $privkey, $headers));
34 var_dump(openssl_cms_sign($infile, $outfile, $single_cert, $wrong, $headers));
H A Dbug81713.phpt24 $headers = ["test@test", "testing openssl_cms_encrypt()"];
79 ["openssl_cms_encrypt", $infile_null, $outfile, $crt_file, $headers],
80 ["openssl_cms_encrypt", $infile, $outfile_null, $crt_file, $headers],
81 ["openssl_cms_encrypt", $infile, $outfile, $crt_file_null, $headers],
82 ["openssl_cms_encrypt", $infile, $outfile, $cainfo_null, $headers],
90 ["openssl_cms_sign", $infile, $outfile, $crt_file, $crt_file_null, $headers],
98 ["openssl_pkcs7_encrypt", $infile_null, $outfile, $crt_file, $headers],
99 ["openssl_pkcs7_encrypt", $infile, $outfile_null, $crt_file, $headers],
100 ["openssl_pkcs7_encrypt", $infile, $outfile, $crt_file_null, $headers],
101 ["openssl_pkcs7_encrypt", $infile, $outfile, $cainfo_null, $headers],
[all …]
/PHP-8.0/ext/iconv/tests/
H A Dbug55146.phpt2 Bug #55146 (iconv_mime_decode_headers() skips some headers)
10 $headers = <<< HEADERS
14 var_dump(iconv_mime_decode_headers($headers, ICONV_MIME_DECODE_CONTINUE_ON_ERROR));
16 $headers = <<< HEADERS
20 var_dump(iconv_mime_decode_headers($headers, ICONV_MIME_DECODE_STRICT));
H A Dbug52941.phpt2 Bug #52941 (The 'iconv_mime_decode_headers' function is skipping headers)
7 $headers = <<<HEADERS
15 $decoded = iconv_mime_decode_headers($headers, ICONV_MIME_DECODE_CONTINUE_ON_ERROR, 'UTF-8');
23 $decoded = iconv_mime_decode_headers($headers, ICONV_MIME_DECODE_CONTINUE_ON_ERROR | ICONV_MIME_DEC…
H A Dbug63839.phpt2 Bug #63839 (iconv_mime_decode_headers function is skipping headers)
9 $headers = 'From: "xyz" <xyz@xyz.com>
22 var_dump(iconv_mime_decode_headers($headers, ICONV_MIME_DECODE_CONTINUE_ON_ERROR));
23 var_dump(iconv_mime_decode_headers($headers, ICONV_MIME_DECODE_STRICT));
H A Dbug77147.phpt12 $headers = iconv_mime_decode_headers($string, ICONV_MIME_DECODE_CONTINUE_ON_ERROR);
13 var_dump($headers);
/PHP-8.0/ext/soap/tests/
H A Dcustom_content_type.phpt31 'user_agent' => 'Vincent JARDIN, test headers',
32 'trace' => true, /* record the headers before sending */
43 $headers = $client->__getLastRequestHeaders();
45 if (strpos($headers, 'Multipart/Related; action="misc-uri#foo"') === FALSE)
46 printf("Content-Type NOK %s" . PHP_EOL, $headers);
57 'user_agent' => 'Vincent JARDIN, test headers',
58 'trace' => true, /* record the headers before sending */
69 $headers = $client2->__getLastRequestHeaders();
71 if (strpos($headers, 'Content-Type: application/soap+xml; charset=utf-8; action="misc-uri#foo"') ==…
72 printf("Content-Type Default NOK %s" . PHP_EOL, $headers);
/PHP-8.0/ext/standard/tests/url/
H A Dget_headers_error_003.phpt18 $headers = get_headers("http://".PHP_CLI_SERVER_ADDRESS, 1, $context);
19 echo $headers["X-Request-Method"]."\n";
22 $headers = get_headers("http://".PHP_CLI_SERVER_ADDRESS, 1);
23 echo $headers["X-Request-Method"]."\n";
/PHP-8.0/ext/standard/tests/streams/
H A Dbug71245.phpt5 $headers = ['Host: okey.com'];
10 'header' => &$headers,
18 $headers = ["Host: bad.com"];
/PHP-8.0/sapi/fpm/tests/
H A Dresponse.inc32 private $headers;
219 * Check default headers that should be present.
227 // check default headers
246 $headers = $this->getHeaders();
247 if ( ! isset($headers[$lcName])) {
250 $header = $headers[$lcName];
268 * Get all headers.
278 if (is_array($this->headers)) {
279 return $this->headers;
283 $headers = [];
[all …]
/PHP-8.0/ext/standard/tests/general_functions/
H A Dhead.phpt30 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s…
33 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s…
39 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s…
42 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s…
/PHP-8.0/ext/standard/tests/mail/
H A Dbug66535.phpt2 Bug #66535: Extra newline if add_x_header and no additional headers are used
8 echo "*** Testing mail() : send email without additional headers ***\n";
24 *** Testing mail() : send email without additional headers ***
H A Dmail_basic6.phpt25 // Calling mail() with all additional headers
35 // Calling mail() with all additional headers
46 // Calling mail() with all additional headers
57 // Calling mail() with all additional headers
67 // Calling mail() with all additional headers
77 // Calling mail() with all additional headers
87 // Calling mail() with all additional headers
97 // Calling mail() with all additional headers
107 // Calling mail() with all additional headers
117 // Calling mail() with all additional headers
[all …]
/PHP-8.0/tests/basic/
H A Drfc1867_garbled_mime_headers.phpt2 rfc1867 garbled mime headers
19 Warning: File Upload Mime headers garbled in %s
/PHP-8.0/win32/
H A Dsendmail.c198 if (headers) { in TSendMail()
240 pos1 = headers + (pos1 - lookup) + 5; in TSendMail()
251 if (headers) { in TSendMail()
266 if (headers) { in TSendMail()
283 if (headers) { in TSendMail()
489 pos1 = headers + (pos1 - headers_lc) + 3; in SendText()
549 else if (headers) { in SendText()
554 pos1 = headers + (pos1 - headers_lc) + 4; in SendText()
605 memcpy(stripped_header, headers, pos1 - headers - 4); in SendText()
618 if (headers && !stripped_header) { in SendText()
[all …]
H A Dsendmail.h36 const char *headers, const char *Subject, const char *mailTo, const char *data,
40 const char *headers, char *headers_lc, char **error_message);
/PHP-8.0/sapi/cli/tests/
H A Dbug64878.phpt13 $headers = get_headers('http://' . PHP_CLI_SERVER_ADDRESS);
14 echo count(array_filter($headers, function ($value) {
/PHP-8.0/ext/session/tests/
H A Dbug74514.phpt10 CLI ignores HTTP headers at all, i.e. does not output any HTTP headers,
15 'headers already sent' errors if they try to set new values.
/PHP-8.0/ext/standard/tests/network/
H A Dsetcookie.phpt40 $headers = headers_list();
41 if (($i = count($expected)) > count($headers))
43 echo "Fewer headers are being sent than expected - aborting";
48 $header = current($headers);
61 ."\n\tReceived: ".current($headers)."\n";
66 while (next($headers) !== FALSE);
/PHP-8.0/ext/snmp/
H A Dconfig.w3212 WARNING("snmp not enabled; libraries and headers not found");
15 WARNING("snmp not enabled; libraries and headers not found");
/PHP-8.0/ext/standard/
H A Dphp_mail.h22 PHPAPI zend_string *php_mail_build_headers(HashTable *headers);
23 …il(const char *to, const char *subject, const char *message, const char *headers, const char *extr…
/PHP-8.0/ext/mbstring/tests/
H A Dbug52681.phpt18 $headers = 'MIME-Version: 2.0';
20 mb_send_mail($to, mb_language(), "test", $headers);

Completed in 32 milliseconds

12345678