note 117593 added to soapserver.soapserver

From: Date: Fri, 03 Jul 2015 12:31:13 +0000
Subject: note 117593 added to soapserver.soapserver
Groups: php.notes 
Request: Send a blank email to php-notes+get-203033@lists.php.net to get a copy of this message
There is a option key 'send_errors' that can be use not to expose PHP (fatal) error messages to the SoapFault message text. If server is created with a 'send_errors' => false option provied, the faultstring of the SoapFault thrown upon running into a PHP error would be a generic “Internal Error” instead of e.g. “Class 'MySecretClass' not found.”. Example: $server = new SoapServer('http://path.to/my.wsdl', array('send_errors' => false)); The only place this is mentioned is in a discussion under the bug #42214. However, it is not mentioned in the manual page, at least not at the time of writing this note. ---- Server IP: 72.52.91.14 Probable Submitter: 83.208.122.157 ---- Manual Page -- http://php.net/manual/en/soapserver.soapserver.php Edit -- https://master.php.net/note/edit/117593 Del: integrated -- https://master.php.net/note/delete/117593/integrated Del: useless -- https://master.php.net/note/delete/117593/useless Del: bad code -- https://master.php.net/note/delete/117593/bad+code Del: spam -- https://master.php.net/note/delete/117593/spam Del: non-english -- https://master.php.net/note/delete/117593/non-english Del: in docs -- https://master.php.net/note/delete/117593/in+docs Del: other reasons-- https://master.php.net/note/delete/117593 Reject -- https://master.php.net/note/reject/117593 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#203033) next »