|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2021-03-23 15:52 UTC] cmb@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: cmb
[2021-03-23 15:52 UTC] cmb@php.net
[2021-04-04 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 17 15:00:01 2025 UTC |
Description: ------------ When calling a wsdl function, with invalid/missing parameters, SoapClient triggers a fatal error, and kills the script, instead of throwing a exception. Test script: --------------- echo "start " . phpversion() . "</br>"; try { $a = new SoapClient($url, array("exceptions" => true)); } catch(SoapFault $e) { echo "soapFault {$e->getMessage()}</br>"; } try { $a->runReport(["userID" => $user, "password" => $pass]); } catch(soapFault $e) { echo "soapFault: {$e->getMessage()}</br>"; } echo "end\n"; Expected result: ---------------- start 7.1.1 soapFault: SOAP-ERROR: Encoding: object has no 'reportRequest' property end Actual result: -------------- PHP Fatal error: SOAP-ERROR: Encoding: object has no 'reportRequest' property