Annotation of embedaddon/php/ext/soap/tests/bugs/bug46427.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Bug #46427 (SoapClient() stumbles over its "stream_context" parameter)
                      3: --SKIPIF--
                      4: <?php require_once('skipif.inc'); ?>
                      5: --FILE--
                      6: <?php
                      7: error_reporting(E_ALL|E_STRICT);
                      8: 
                      9: function getSoapClient_1() {
                     10:     $ctx = stream_context_create();
                     11:     return new SoapClient(NULL, array(
                     12:        'stream_context' => $ctx,
                     13:        'location' => 'test://',
                     14:        'uri' => 'test://',
                     15:        'exceptions' => false));
                     16: }
                     17: 
                     18: getSoapClient_1()->__soapCall('Help', array());
                     19: echo "ok\n";
                     20: ?>
                     21: --EXPECT--
                     22: ok

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>