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 #46427 (SoapClient() stumbles over its "stream_context" parameter) --EXTENSIO..

Decoded Output download

--TEST--
Bug #46427 (SoapClient() stumbles over its "stream_context" parameter)
--EXTENSIONS--
soap
--FILE--
<?php

function getSoapClient_1() {
    $ctx = stream_context_create();
    return new SoapClient(NULL, array(
        'stream_context' => $ctx,
        'location' => 'test://',
        'uri' => 'test://',
        'exceptions' => false));
}

getSoapClient_1()->__soapCall('Help', array());
echo "ok
";
?>
--EXPECT--
ok

Did this file decode correctly?

Original Code

--TEST--
Bug #46427 (SoapClient() stumbles over its "stream_context" parameter)
--EXTENSIONS--
soap
--FILE--
<?php

function getSoapClient_1() {
    $ctx = stream_context_create();
    return new SoapClient(NULL, array(
        'stream_context' => $ctx,
        'location' => 'test://',
        'uri' => 'test://',
        'exceptions' => false));
}

getSoapClient_1()->__soapCall('Help', array());
echo "ok\n";
?>
--EXPECT--
ok

Function Calls

None

Variables

None

Stats

MD5 38c4b95af41a74f6d5b9b256a0f763cb
Eval Count 0
Decode Time 94 ms