Doc #76487 [Opn->Ver]: SoapFault's $faultcode can also be an array with namespace
| From: | cmb@php.net | Date: | Sun, 17 Jun 2018 12:38:39 +0000 |
| Subject: | Doc #76487 [Opn->Ver]: SoapFault's $faultcode can also be an array with namespace | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-15782@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76487&edit=1
ID: 76487
Updated by: cmb@php.net
Reported by: falundir at gmail dot com
Summary: SoapFault's $faultcode can also be an array with
namespace
-Status: Open
+Status: Verified
Type: Documentation Problem
Package: SOAP related
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Confirmed: <http://git.php.net/?p=php-src.git;a=commit;h=bd06b244a768861955a4eb2270cf6a854c97222f>.
Previous Comments:
------------------------------------------------------------------------
[2018-06-17 10:37:24] falundir at gmail dot com
Description:
------------
It's possible to create a SoapFault with namespaced fault code:
<?php
$soap_fault = new SoapFault(['some:namespace', 'Client.SomeFaultCode'],
'Some message.');
?>
This feature is not documented - only string option is.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76487&edit=1