Home
last modified time | relevance | path

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

/PHP-5.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
8 /* Prototype : proto array get_headers(string url[, int format])
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
25 var_dump( get_headers($url, $format, $extra_arg) );
30 *** Testing get_headers() : error conditions ***
32 -- Testing get_headers() function with Zero arguments --
34 Warning: get_headers() expects at least 1 parameter, 0 given in %s on line 12
[all …]
/PHP-5.3/ext/standard/
H A Durl.h47 PHP_FUNCTION(get_headers);
H A Durl.c695 PHP_FUNCTION(get_headers) argument
H A Dbasic_functions.c3133 PHP_FE(get_headers, arginfo_get_headers)
/PHP-5.3/
H A DNEWS5248 - Fixed bug #38981 (using FTP URLs in get_headers() causes crash). (Tony)
5259 - Fixed bug #38891 (get_headers() do not work with curl-wrappers). (Ilia)
5585 - Changed get_headers() to retrieve headers also from non-200 responses.
5587 - Changed get_headers() to use the default context. (Ilia)

Completed in 49 milliseconds