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 #77945: Segmentation fault when constructing SoapClient with WSDL_CACHE_BOTH ..

Decoded Output download

--TEST--
Bug #77945: Segmentation fault when constructing SoapClient with WSDL_CACHE_BOTH
--EXTENSIONS--
soap
--FILE--
<?php

// The important part is to have a restriction enumeration with value="".
$client = new SoapClient(__DIR__ . '/bug29236.wsdl', [
    'cache_wsdl' => WSDL_CACHE_BOTH
]);

?>
===DONE===
--EXPECT--
===DONE===

Did this file decode correctly?

Original Code

--TEST--
Bug #77945: Segmentation fault when constructing SoapClient with WSDL_CACHE_BOTH
--EXTENSIONS--
soap
--FILE--
<?php

// The important part is to have a restriction enumeration with value="".
$client = new SoapClient(__DIR__ . '/bug29236.wsdl', [
    'cache_wsdl' => WSDL_CACHE_BOTH
]);

?>
===DONE===
--EXPECT--
===DONE===

Function Calls

None

Variables

None

Stats

MD5 273a5e5e9e782e9e4589ded32115b7a8
Eval Count 0
Decode Time 92 ms