\n"; print "Request:\n".htmlspecialchars($client->__getLastRequest()) ."\n"; print "Response:\n".htmlspecialchars($client->__getLastResponse())."\n"; print ""; print "
"; 
    print_r($client->__getTypes());
    print "
"; } function barf_min($client) { print "
\n";
    print "Request:\n".htmlspecialchars($client->__getLastRequest()) ."\n";
    print "Response:\n".htmlspecialchars($client->__getLastResponse())."\n";
    print "
"; } function barf_var($var) { print "
\n";
    var_dump($var);
    print "
"; } function url_exists($url) { $hdrs = @get_headers($url); return is_array($hdrs) ? preg_match('/^HTTP\\/\\d+\\.\\d+\\s+2\\d\\d\\s+.*$/',$hdrs[0]) : FALSE; } ?>