php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62776 SoapClient behaves different when xdebug is installed
Submitted: 2012-08-08 08:54 UTC Modified: 2020-12-18 16:39 UTC
From: sven at e7o dot de Assigned: cmb (profile)
Status: Closed Package: *General Issues
PHP Version: 5.3.15 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sven at e7o dot de
New email:
PHP Version: OS:

 

 [2012-08-08 08:54 UTC] 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)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-08-14 07:35 UTC] 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
 [2020-12-18 16:39 UTC] cmb@php.net
-Status: Open +Status: Closed -Package: Class/Object related +Package: *General Issues -Assigned To: +Assigned To: cmb
 [2020-12-18 16:39 UTC] cmb@php.net
Apparently an already fixed Xdebug issue.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 10:01:33 2025 UTC