/PHP-7.2/ext/openssl/tests/ |
H A D | openssl_pkcs7_encrypt_basic.phpt | 19 $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)); 30 var_dump(openssl_pkcs7_encrypt($wrong, $outfile, $single_cert, $headers)); 31 var_dump(openssl_pkcs7_encrypt($empty, $outfile, $single_cert, $headers)); 32 var_dump(openssl_pkcs7_encrypt($infile, $empty, $single_cert, $headers)); 33 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $wrong, $headers)); 34 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $empty, $headers)); 36 var_dump(openssl_pkcs7_encrypt($infile, $outfile, $multi_certs, $headers)); 37 …openssl_pkcs7_encrypt($infile, $outfile, array_map('openssl_x509_read', $multi_certs) , $headers));
|
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)); 26 var_dump(openssl_pkcs7_sign($wrong, $outfile, $single_cert, $privkey, $headers)); 27 var_dump(openssl_pkcs7_sign($empty, $outfile, $single_cert, $privkey, $headers)); 28 var_dump(openssl_pkcs7_sign($infile, $empty, $single_cert, $privkey, $headers)); 29 var_dump(openssl_pkcs7_sign($infile, $outfile, $wrong, $privkey, $headers)); 30 var_dump(openssl_pkcs7_sign($infile, $outfile, $empty, $privkey, $headers)); 32 var_dump(openssl_pkcs7_sign($infile, $outfile, $single_cert, $wrong, $headers));
|
/PHP-7.2/ext/soap/tests/ |
H A D | custom_content_type.phpt | 28 'user_agent' => 'Vincent JARDIN, test headers', 29 'trace' => true, /* record the headers before sending */ 40 $headers = $client->__getLastRequestHeaders(); 42 if (strpos($headers, 'Multipart/Related; action="misc-uri#foo"') === FALSE) 43 printf("Content-Type NOK %s" . PHP_EOL, $headers); 54 'user_agent' => 'Vincent JARDIN, test headers', 55 'trace' => true, /* record the headers before sending */ 66 $headers = $client2->__getLastRequestHeaders(); 68 if (strpos($headers, 'Content-Type: application/soap+xml; charset=utf-8; action="misc-uri#foo"') ==… 69 printf("Content-Type Default NOK %s" . PHP_EOL, $headers);
|
/PHP-7.2/ext/iconv/tests/ |
H A D | bug55146.phpt | 2 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 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) 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 D | bug77147.phpt | 12 $headers = iconv_mime_decode_headers($string, ICONV_MIME_DECODE_CONTINUE_ON_ERROR); 13 var_dump($headers);
|
/PHP-7.2/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-7.2/ext/standard/tests/network/ |
H A D | setcookie.phpt | 37 $headers = headers_list(); 38 if (($i = count($expected)) > count($headers)) 40 echo "Fewer headers are being sent than expected - aborting"; 46 if (strncmp(current($headers), 'Set-Cookie:', 11) !== 0) 51 if (current($headers) === current($expected)) 59 ."\n\tReceived: ".current($headers)."\n"; 64 while (next($headers) !== FALSE);
|
/PHP-7.2/ext/standard/tests/streams/ |
H A D | bug71245.phpt | 5 $headers = ['Host: okey.com']; 10 'header' => &$headers, 18 $headers = ["Host: bad.com"];
|
/PHP-7.2/sapi/fpm/tests/ |
H A D | response.inc | 32 private $headers; 175 // check default headers 191 $headers = $this->getHeaders(); 192 if (!isset($headers[$lcName])) { 195 $header = $headers[$lcName]; 220 if (is_array($this->headers)) { 221 return $this->headers; 225 $headers = []; 231 $headers[strtolower(substr($headerRow, 0, $colonPosition))] = trim( 236 return ($this->headers = $headers);
|
/PHP-7.2/ext/soap/interop/ |
H A D | client_round2_params.php | 442 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeStringRequest', 'hell… 454 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeStringRequest', 'hell… 466 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeStringRequest', 'hell… 478 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeStringRequest', 'hell… 491 $test->headers[] = new SoapHeader('http://unknown.org/echoheader/','echoMeStringRequest', 'hello wo… 508 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeStructRequest', 525 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeStructRequest', 542 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeStructRequest', 557 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeStructRequest', 575 $test->headers[] = new SoapHeader('http://soapinterop.org/echoheader/','echoMeUnknown', 'nobody und… [all …]
|
/PHP-7.2/win32/ |
H A D | sendmail.c | 211 if (headers) { in TSendMail() 253 pos1 = headers + (pos1 - lookup) + 5; in TSendMail() 264 if (headers) { in TSendMail() 279 if (headers) { in TSendMail() 296 if (headers) { in TSendMail() 473 pos1 = headers + (pos1 - headers_lc) + 3; in SendText() 523 else if (headers) { in SendText() 528 pos1 = headers + (pos1 - headers_lc) + 4; in SendText() 564 memcpy(stripped_header, headers, pos1 - headers - 4); in SendText() 577 if (headers && !stripped_header) { in SendText() [all …]
|
/PHP-7.2/ext/standard/ |
H A D | mail.c | 186 PHPAPI zend_string *php_mail_build_headers(zval *headers) in php_mail_build_headers() argument 193 ZEND_ASSERT(Z_TYPE_P(headers) == IS_ARRAY); in php_mail_build_headers() 291 zval *headers = NULL; in PHP_FUNCTION() local 303 Z_PARAM_ZVAL_DEREF(headers) in PHP_FUNCTION() 311 if (headers) { in PHP_FUNCTION() 312 switch(Z_TYPE_P(headers)) { in PHP_FUNCTION() 314 tmp_headers = zend_string_init(Z_STRVAL_P(headers), Z_STRLEN_P(headers), 0); in PHP_FUNCTION() 320 str_headers = php_mail_build_headers(headers); in PHP_FUNCTION() 480 char *hdr = headers; in php_mail() 486 if (hdr != headers) { \ in php_mail() [all …]
|
H A D | php_mail.h | 29 PHPAPI zend_string *php_mail_build_headers(zval *headers); 30 PHPAPI extern int php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd);
|
/PHP-7.2/ext/standard/tests/general_functions/ |
H A D | head.phpt | 36 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… 45 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s… 48 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s…
|
/PHP-7.2/ext/standard/tests/mail/ |
H A D | mail_basic6.phpt | 31 // Calling mail() with all additional headers 41 // Calling mail() with all additional headers 52 // Calling mail() with all additional headers 63 // Calling mail() with all additional headers 73 // Calling mail() with all additional headers 83 // Calling mail() with all additional headers 93 // Calling mail() with all additional headers 103 // Calling mail() with all additional headers 113 // Calling mail() with all additional headers 123 // Calling mail() with all additional headers [all …]
|
H A D | bug66535.phpt | 2 Bug #66535: Extra newline if add_x_header and no additional headers are used 19 echo "*** Testing mail() : send email without additional headers ***\n"; 36 *** Testing mail() : send email without additional headers ***
|
/PHP-7.2/tests/basic/ |
H A D | rfc1867_garbled_mime_headers.phpt | 2 rfc1867 garbled mime headers 19 Warning: File Upload Mime headers garbled in %s
|
/PHP-7.2/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-7.2/ext/session/tests/ |
H A D | bug74514.phpt | 10 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-7.2/ext/snmp/ |
H A D | config.w32 | 14 WARNING("snmp not enabled; libraries and headers not found"); 17 WARNING("snmp not enabled; libraries and headers not found");
|
/PHP-7.2/ext/mbstring/tests/ |
H A D | bug52861.phpt | 18 $headers = 'MIME-Version: 2.0'; 20 mb_send_mail($to, mb_language(), "test", $headers);
|
/PHP-7.2/ext/pdo/ |
H A D | Makefile.frag | 17 install-pdo-headers: 35 install: $(all_targets) $(install_targets) install-pdo-headers
|
/PHP-7.2/ext/curl/tests/ |
H A D | curl_writeheader_callback.phpt | 7 … that the headers are sent to the callback specified for CURLOPT_HEADERFUNCTION. Different test se…
|