Annotation of embedaddon/php/ext/soap/tests/bugs/bug44811.phpt, revision 1.1
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
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>