note 104688 added to class.soapclient
| From: | stepan dot zarubin at gmail dot com | Date: | Thu, 30 Jun 2011 18:51:23 +0000 |
| Subject: | note 104688 added to class.soapclient | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-181116@lists.php.net to get a copy of this message | ||
Well, this example works fine:
try {
$x = @new SoapClient("non-existent.wsdl");
} catch (Exception $e) {
echo $e->getMessage();
}
Just make sure use NEW with @.
----
Server IP: 89.251.21.32
Probable Submitter: 46.119.1.188
----
Manual Page -- http://www.php.net/manual/en/class.soapclient.php
Edit -- https://master.php.net/note/edit/104688
Del: integrated -- https://master.php.net/note/delete/104688/integrated
Del: useless -- https://master.php.net/note/delete/104688/useless
Del: bad code -- https://master.php.net/note/delete/104688/bad+code
Del: spam -- https://master.php.net/note/delete/104688/spam
Del: non-english -- https://master.php.net/note/delete/104688/non-english
Del: in docs -- https://master.php.net/note/delete/104688/in+docs
Del: other reasons-- https://master.php.net/note/delete/104688
Reject -- https://master.php.net/note/reject/104688
Search -- https://master.php.net/manage/user-notes.php