/PHP-8.3/ext/iconv/tests/ |
H A D | bug55146.phpt | 2 Bug #55146 (iconv_mime_decode_headers() skips some headers) 8 $headers = <<< HEADERS 12 var_dump(iconv_mime_decode_headers($headers, ICONV_MIME_DECODE_CONTINUE_ON_ERROR)); 14 $headers = <<< HEADERS 18 var_dump(iconv_mime_decode_headers($headers, ICONV_MIME_DECODE_STRICT));
|
H A D | bug52941.phpt | 2 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 D | bug63839.phpt | 2 Bug #63839 (iconv_mime_decode_headers function is skipping headers) 7 $headers = 'From: "xyz" <xyz@xyz.com> 20 var_dump(iconv_mime_decode_headers($headers, ICONV_MIME_DECODE_CONTINUE_ON_ERROR)); 21 var_dump(iconv_mime_decode_headers($headers, ICONV_MIME_DECODE_STRICT));
|
H A D | bug77147.phpt | 10 $headers = iconv_mime_decode_headers($string, ICONV_MIME_DECODE_CONTINUE_ON_ERROR); 11 var_dump($headers);
|
/PHP-8.3/ext/openssl/tests/ |
H A D | openssl_pkcs7_encrypt_basic.phpt | 22 $headers = array("test@test", "testing openssl_pkcs7_encrypt()"); 28 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $single_cert, $headers, 0, $cipher)); 29 var_dump(openssl_pkcs7_encrypt($infile, $outfile, openssl_x509_read($single_cert), $headers, 0, $ci… 33 var_dump(openssl_pkcs7_encrypt($wrong, $outfile, $single_cert, $headers, 0, $cipher)); 34 var_dump(openssl_pkcs7_encrypt($empty, $outfile, $single_cert, $headers, 0, $cipher)); 35 var_dump(openssl_pkcs7_encrypt($infile, $empty, $single_cert, $headers, 0, $cipher)); 36 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $wrong, $headers, 0, $cipher)); 37 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $empty, $headers, 0, $cipher)); 38 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $multi_certs, $headers, 0, $cipher)); 39 …s7_encrypt($infile, $outfile, array_map('openssl_x509_read', $multi_certs), $headers, 0, $cipher)); [all …]
|
H A D | openssl_cms_encrypt_basic.phpt | 20 $headers = array("test@test", "testing openssl_cms_encrypt()"); 26 var_dump(openssl_cms_encrypt($infile, $outfile, $single_cert, $headers, cipher_algo: $cipher)); 27 var_dump(openssl_cms_encrypt($infile, $outfile, openssl_x509_read($single_cert), $headers, cipher_a… 32 var_dump(openssl_cms_encrypt($wrong, $outfile, $single_cert, $headers, cipher_algo: $cipher)); 33 var_dump(openssl_cms_encrypt($empty, $outfile, $single_cert, $headers, cipher_algo: $cipher)); 34 var_dump(openssl_cms_encrypt($infile, $empty, $single_cert, $headers, cipher_algo: $cipher)); 35 var_dump(openssl_cms_encrypt($infile, $outfile, $wrong, $headers, cipher_algo: $cipher)); 36 var_dump(openssl_cms_encrypt($infile, $outfile, $empty, $headers, cipher_algo: $cipher)); 37 var_dump(openssl_cms_encrypt($infile, $outfile, $multi_certs, $headers, cipher_algo: $cipher)); 38 …ncrypt($infile, $outfile, array_map('openssl_x509_read', $multi_certs), $headers, cipher_algo: $ci… [all …]
|
H A D | openssl_pkcs7_sign_basic.phpt | 16 $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 D | openssl_cms_sign_basic.phpt | 16 $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 D | bug81713.phpt | 26 $headers = ["test@test", "testing openssl_cms_encrypt()"]; 81 ["openssl_cms_encrypt", $infile_null, $outfile, $crt_file, $headers], 82 ["openssl_cms_encrypt", $infile, $outfile_null, $crt_file, $headers], 83 ["openssl_cms_encrypt", $infile, $outfile, $crt_file_null, $headers], 84 ["openssl_cms_encrypt", $infile, $outfile, $cainfo_null, $headers], 92 ["openssl_cms_sign", $infile, $outfile, $crt_file, $crt_file_null, $headers], 100 ["openssl_pkcs7_encrypt", $infile_null, $outfile, $crt_file, $headers], 101 ["openssl_pkcs7_encrypt", $infile, $outfile_null, $crt_file, $headers], 102 ["openssl_pkcs7_encrypt", $infile, $outfile, $crt_file_null, $headers], 103 ["openssl_pkcs7_encrypt", $infile, $outfile, $cainfo_null, $headers], [all …]
|
/PHP-8.3/ext/soap/tests/ |
H A D | custom_content_type.phpt | 33 'user_agent' => 'Vincent JARDIN, test headers', 34 'trace' => true, /* record the headers before sending */ 45 $headers = $client->__getLastRequestHeaders(); 47 if (strpos($headers, 'Multipart/Related; action="misc-uri#foo"') === FALSE) 48 printf("Content-Type NOK %s" . PHP_EOL, $headers); 59 'user_agent' => 'Vincent JARDIN, test headers', 60 'trace' => true, /* record the headers before sending */ 71 $headers = $client2->__getLastRequestHeaders(); 73 if (strpos($headers, 'Content-Type: application/soap+xml; charset=utf-8; action="misc-uri#foo"') ==… 74 printf("Content-Type Default NOK %s" . PHP_EOL, $headers);
|
/PHP-8.3/tests/basic/ |
H A D | header_register_callback_after_output.phpt | 2 Call header_register_callback() after headers sent 5 echo "Send headers.\n"; 9 Send headers.
|
H A D | rfc1867_garbled_mime_headers.phpt | 2 rfc1867 garbled mime headers 19 Warning: File Upload Mime headers garbled in %s
|
/PHP-8.3/ext/standard/tests/url/ |
H A D | get_headers_error_003.phpt | 16 $headers = get_headers("http://".PHP_CLI_SERVER_ADDRESS, 1, $context); 17 echo $headers["X-Request-Method"]."\n"; 20 $headers = get_headers("http://".PHP_CLI_SERVER_ADDRESS, 1); 21 echo $headers["X-Request-Method"]."\n";
|
/PHP-8.3/ext/standard/tests/streams/ |
H A D | bug71245.phpt | 5 $headers = ['Host: okey.com']; 10 'header' => &$headers, 18 $headers = ["Host: bad.com"];
|
/PHP-8.3/sapi/fpm/tests/ |
H A D | response.inc | 86 private $headers; 264 $headers = $this->getHeaders(); 383 // check default headers 402 $headers = $this->getHeaders(); 406 $header = $headers[$lcName]; 430 $headers = $this->getHeaders(); 431 if (isset($headers[$lcName])) { 439 * Get all headers. 450 return $this->headers; 454 $headers = []; [all …]
|
/PHP-8.3/ext/standard/tests/general_functions/ |
H A D | head.phpt | 30 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…
|
H A D | http_response_code.phpt | 24 echo "Now we've sent the headers\n"; 34 Now we've sent the headers 36 Warning: http_response_code(): Cannot set response code - headers already sent (output started at %…
|
/PHP-8.3/ext/standard/tests/mail/ |
H A D | bug66535.phpt | 2 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 D | mail_basic6.phpt | 25 // 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 …]
|
H A D | gh10990.phpt | 13 $headers = ['From' => &$from]; 14 var_dump(mail('test@example.com', 'Test', 'Test', $headers));
|
/PHP-8.3/win32/ |
H A D | sendmail.c | 198 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 …]
|
/PHP-8.3/sapi/cli/tests/ |
H A D | bug64878.phpt | 13 $headers = get_headers('http://' . PHP_CLI_SERVER_ADDRESS); 14 echo count(array_filter($headers, function ($value) {
|
/PHP-8.3/ext/standard/tests/network/ |
H A D | setcookie.phpt | 40 $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.3/ext/session/tests/ |
H A D | bug74514.phpt | 12 CLI ignores HTTP headers at all, i.e. does not output any HTTP headers, 17 'headers already sent' errors if they try to set new values.
|
/PHP-8.3/ext/snmp/ |
H A D | config.w32 | 12 WARNING("snmp not enabled; libraries and headers not found"); 15 WARNING("snmp not enabled; libraries and headers not found");
|