Bug #62776 [Com]: SoapClient behaves different when xdebug is installed
| From: | guillaume dot bretou at gmail dot com | Date: | Tue, 14 Aug 2012 07:35:00 +0000 |
| Subject: | Bug #62776 [Com]: SoapClient behaves different when xdebug is installed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-172589@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
Comment by: guillaume dot bretou at gmail dot com
Reported by: sven at e7o dot de
Summary: SoapClient behaves different when xdebug is
installed
Status: Open
Type: Bug
Package: Class/Object related
PHP Version: 5.3.15
Block user comment: N
Private report: N
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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