Searched refs:get_headers (Results 1 – 8 of 8) sorted by relevance
/PHP-7.2/ext/standard/tests/url/ |
H A D | get_headers_error_002.phpt | 2 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 D | get_headers_error_001.phpt | 2 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 D | get_headers_error_003.phpt | 2 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.2/sapi/cli/tests/ |
H A D | bug64878.phpt | 13 $headers = get_headers('http://' . PHP_CLI_SERVER_ADDRESS);
|
/PHP-7.2/ext/standard/ |
H A D | url.h | 48 PHP_FUNCTION(get_headers);
|
H A D | url.c | 692 PHP_FUNCTION(get_headers) argument
|
H A D | basic_functions.c | 3183 PHP_FE(get_headers, arginfo_get_headers)
|
/PHP-7.2/ |
H A D | NEWS | 55 . Fixed bug #79329 (get_headers() silently truncates after a null byte) 3102 get_headers()). (Ferenc)
|
Completed in 25 milliseconds