Return to bug44811.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / soap / tests / bugs |
1.1 misho 1: --TEST-- 2: Bug #44811 (Improve error messages when creating new SoapClient which contains invalid data) 3: --SKIPIF-- 4: <?php require_once 'skipif.inc'; ?> 5: --INI-- 6: soap.wsdl_cache_enabled=0 7: --FILE-- 8: <?php 9: try { 10: $x = new SoapClient('http://slashdot.org'); 11: } catch (SoapFault $e) { 12: echo $e->getMessage() . PHP_EOL; 13: } 14: die('ok'); 15: ?> 16: --EXPECTF-- 17: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://slashdot.org' : %s 18: 19: ok