Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

--TEST-- Bug #34657 (If you get a communication problem when loading the WSDL, it fatal's)..

Decoded Output download

--TEST--
Bug #34657 (If you get a communication problem when loading the WSDL, it fatal's)
--EXTENSIONS--
soap
--FILE--
<?php
try {
    $client = new SoapClient('http://i_dont_exist.com/some.wsdl');
    echo "?
";
} catch (SoapFault $e) {
    echo get_class($e)."
";
    echo $e->faultstring."
";
    echo "ok
";
} catch (Exception $e) {
    echo get_class($e)."
";
}
?>
--EXPECTF--
SoapFault
SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://i_dont_exist.com/some.wsdl'%A
ok

Did this file decode correctly?

Original Code

--TEST--
Bug #34657 (If you get a communication problem when loading the WSDL, it fatal's)
--EXTENSIONS--
soap
--FILE--
<?php
try {
    $client = new SoapClient('http://i_dont_exist.com/some.wsdl');
    echo "?\n";
} catch (SoapFault $e) {
    echo get_class($e)."\n";
    echo $e->faultstring."\n";
    echo "ok\n";
} catch (Exception $e) {
    echo get_class($e)."\n";
}
?>
--EXPECTF--
SoapFault
SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://i_dont_exist.com/some.wsdl'%A
ok

Function Calls

None

Variables

None

Stats

MD5 9f3bc1e73e909cd971ce3d1e23219b82
Eval Count 0
Decode Time 71 ms