note 109976 added to class.soapclient

From: Date: Fri, 07 Sep 2012 12:25:40 +0000
Subject: note 109976 added to class.soapclient
Groups: php.notes 
Request: Send a blank email to php-notes+get-190566@lists.php.net to get a copy of this message
As tlk says: "Make sure to prefix constructor calls with @ and catch SoapFault exceptions, otherwise you risk having the php interpreter exit/die on simple network issues. <?php try { $x = @new SoapClient("non-existent.wsdl",array("exceptions" => 1)); } catch (SoapFault $E) { echo $E->faultstring; } echo "ok\n"; ?>" if it still isn't enough, try surrounding the SoapClient call with xdebug_disable(); and xdebug_enable(); ---- Server IP: 69.147.83.197 Probable Submitter: 81.35.223.199 ---- Manual Page -- http://www.php.net/manual/en/class.soapclient.php Edit -- https://master.php.net/note/edit/109976 Del: integrated -- https://master.php.net/note/delete/109976/integrated Del: useless -- https://master.php.net/note/delete/109976/useless Del: bad code -- https://master.php.net/note/delete/109976/bad+code Del: spam -- https://master.php.net/note/delete/109976/spam Del: non-english -- https://master.php.net/note/delete/109976/non-english Del: in docs -- https://master.php.net/note/delete/109976/in+docs Del: other reasons-- https://master.php.net/note/delete/109976 Reject -- https://master.php.net/note/reject/109976 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#190566) next »