note 104688 modified in class.soapclient by danbrown
| From: | danbrown@php.net | Date: | Thu, 30 Jun 2011 19:24:33 +0000 |
| Subject: | note 104688 modified in class.soapclient by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-181117@lists.php.net to get a copy of this message | ||
Well, this example works fine:
<?php
try {
$x = @new SoapClient("non-existent.wsdl");
} catch (Exception $e) {
echo $e->getMessage();
}
?>
Just make sure use NEW with @.
--was--
Well, this example works fine:
try {
$x = @new SoapClient("non-existent.wsdl");
} catch (Exception $e) {
echo $e->getMessage();
}
Just make sure use NEW with @.
http://php.net/manual/en/class.soapclient.php