Bug #62776 [Opn->Csd]: SoapClient behaves different when xdebug is installed
| From: | cmb@php.net | Date: | Fri, 18 Dec 2020 16:39:26 +0000 |
| Subject: | Bug #62776 [Opn->Csd]: SoapClient behaves different when xdebug is installed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-231164@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62776&edit=1
ID: 62776
Updated by: cmb@php.net
Reported by: sven at e7o dot de
Summary: SoapClient behaves different when xdebug is
installed
-Status: Open
+Status: Closed
Type: Bug
-Package: Class/Object related
+Package: *General Issues
PHP Version: 5.3.15
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Apparently an already fixed Xdebug issue.
Previous Comments:
------------------------------------------------------------------------
[2012-08-14 07:35:00] guillaume dot bretou at gmail dot com
This problem is already known.
Please see : https://bugs.php.net/bug.php?id=34657 and http://bugs.xdebug.org/bug_view_page.php?bug_id=00000609
------------------------------------------------------------------------
[2012-08-08 08:54:04] sven at e7o dot de
Description:
------------
When creating a SOAP client on a non-existing WSDL file, there will be an fatal error when xdebug is
installed. In other cases it throws an Exception.
PHP Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'abc' : failed to load
external entity "abc"
vs.
class SoapFault#3 (10) {
protected $message =>
string(90) "SOAP-ERROR: Parsing WSDL: Couldn't load from 'abc' : failed to
load external entity "abc"\n"
...
Test script:
---------------
try { $a = new SoapClient('abc'); } catch (Exception $e) { var_dump($e); }
Expected result:
----------------
Same error, independent from installed extensions (ideal case: Exception because it's
catchable)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62776&edit=1