|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #76487 SoapFault's $faultcode can also be an array with namespace
Submitted: 2018-06-17 10:37 UTC Modified: 2018-06-17 12:38 UTC
From: falundir at gmail dot com Assigned:
Status: Verified Package: SOAP related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
42 - 37 = ?
Subscribe to this entry?

 [2018-06-17 10:37 UTC] falundir at gmail dot com
It's possible to create a SoapFault with namespaced fault code:

$soap_fault = new SoapFault(['some:namespace', 'Client.SomeFaultCode'], 'Some message.');

This feature is not documented - only string option is.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-06-17 12:38 UTC]
-Status: Open +Status: Verified
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Jun 22 19:01:23 2021 UTC