php.net |  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:
MUST BE VALID
Solve the problem:
34 - 19 = ?
Subscribe to this entry?

 
 [2018-06-17 10:37 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-06-17 12:38 UTC] cmb@php.net
-Status: Open +Status: Verified
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Jan 26 17:01:25 2020 UTC