Searched refs:get_headers (Results 1 – 6 of 6) sorted by relevance
2 Test get_headers() function: wrong type for argument format8 /* 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 …]
2 Test get_headers() function : error conditions - wrong number of args8 /* 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 arguments25 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 …]
47 PHP_FUNCTION(get_headers);
695 PHP_FUNCTION(get_headers) argument
3133 PHP_FE(get_headers, arginfo_get_headers)
5248 - 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 123 milliseconds