mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
There's a bugs directory but it wasn't always used, move the regression tests to this directory.
22 lines
646 B
PHP
22 lines
646 B
PHP
--TEST--
|
|
Bug #46760 (SoapClient doRequest fails when proxy is used)
|
|
--EXTENSIONS--
|
|
soap
|
|
--FILE--
|
|
<?php
|
|
|
|
$client = new SoapClient(null, array('proxy_host' => "localhost",
|
|
'proxy_port' => '8080',
|
|
'login' => "user",
|
|
'password' => "test",
|
|
'uri' => 'mo:http://www.w3.org/',
|
|
'location' => 'http://some.url'));
|
|
var_dump($client);
|
|
|
|
?>
|
|
--EXPECTF--
|
|
%A
|
|
["_proxy_port":"SoapClient":private]=>
|
|
int(8080)
|
|
%A
|