Home
last modified time | relevance | path

Searched refs:get_headers (Results 1 – 8 of 8) sorted by relevance

/PHP-7.3/ext/standard/tests/url/
H A Dget_headers_error_002.phpt2 Test get_headers() function: wrong type for argument format
8 /* Prototype : proto array get_headers(string url[, int format])
14 echo "*** Testing get_headers() : error conditions ***\n";
18 echo "\n-- Testing get_headers() function with format argument as type string --\n";
19 var_dump( get_headers($url, "#PHPTestFest2009 Norway") );
23 var_dump( get_headers($url, array()) );
32 var_dump( get_headers($url, $object) );
38 *** Testing get_headers() : error conditions ***
40 -- Testing get_headers() function with format argument as type string --
45 -- Testing get_headers() function with format argument as type array --
[all …]
H A Dget_headers_error_001.phpt2 Test get_headers() function : error conditions - wrong number of args
14 echo "*** Testing get_headers() : error conditions ***\n";
17 echo "\n-- Testing get_headers() function with Zero arguments --\n";
18 var_dump( get_headers() );
20 //Test get_headers with one more than the expected number of arguments
26 var_dump( get_headers($url, $format, $context, $extra_arg) );
31 *** Testing get_headers() : error conditions ***
33 -- Testing get_headers() function with Zero arguments --
35 Warning: get_headers() expects at least 1 parameter, 0 given in %s on line 12
38 -- Testing get_headers() function with more than expected no. of arguments --
[all …]
H A Dget_headers_error_003.phpt2 Test get_headers() function : test with context
16 $headers = get_headers("http://".PHP_CLI_SERVER_ADDRESS, 1, $context);
20 $headers = get_headers("http://".PHP_CLI_SERVER_ADDRESS, 1);
/PHP-7.3/sapi/cli/tests/
H A Dbug64878.phpt13 $headers = get_headers('http://' . PHP_CLI_SERVER_ADDRESS);
/PHP-7.3/ext/standard/
H A Durl.h48 PHP_FUNCTION(get_headers);
H A Durl.c678 PHP_FUNCTION(get_headers) argument
H A Dbasic_functions.c3210 PHP_FE(get_headers, arginfo_get_headers)
/PHP-7.3/
H A DNEWS468 . Fixed bug #79329 (get_headers() silently truncates after a null byte).

Completed in 34 milliseconds