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