View Issue Details

IDProjectCategoryView StatusLast Update
0000705XdebugUncategorizedpublic2012-01-06 18:41
Reporterntosic Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionduplicate 
PlatformLinuxOSCent OSOS Version5.5
Product Version2.1.0 
Summary0000705: SoapClient constructor does not throw exception where it should
Description

I could not find version 2.1.1 in dropdown, so I selected 2.1.0

This is actually ticket duplicate of:
https://bugs.php.net/bug.php?id=34657

When using XDebug w/SoapClient it does not throw exceptions if
wrong WSDL url is passed in SoapClient constructor.

When XDebug module is disabled, i get exceptions catched

Steps To Reproduce

try{

        $client = new SoapClient(
                       http://wrong.wsdl.url?wsdl,
                        array(
                            'exceptions' => true, 'trace' => true),
                            'features' => SOAP_SINGLE_ELEMENT_ARRAYS)
        );

        }catch(Exception $e){
            die("something went wrong");
        }
TagsNo tags attached.
Operating SystemCent OS
PHP Version5.3.3

Relationships

duplicate of 0000609 closedderick Xdebug messe up with fatal to exception error conversions with PHP SoapClient 
has duplicate 0000685 resolvedderick Xdebug's error handler messes up with fatal to exception error conversions with SoapClient 

Activities

danielc

2012-01-06 18:03

reporter   ~0001891

Last edited: 2012-01-06 18:04

This is a reappearance of Bug 0000249.

derick

2012-01-06 18:41

administrator   ~0001892

Duplicate of 0000609, which I think I've fixed in master on github!