xref: /PHP-5.6/ext/soap/tests/bug46760.phpt (revision 72d9e654)
1--TEST--
2Bug #46760 (SoapClient doRequest fails when proxy is used)
3--SKIPIF--
4<?php require_once('skipif.inc'); ?>
5--FILE--
6<?php
7
8$client = new SoapClient(null, array('proxy_host'     => "localhost",
9                                            'proxy_port'     => '8080',
10                                            'login'    => "user",
11									        'password' => "test",
12											'uri'            => 'mo:http://www.w3.org/',
13											'location'       => 'http://some.url'));
14var_dump($client->_proxy_port);
15
16?>
17--EXPECT--
18int(8080)
19