1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext/soap/tests/bugs/bug46760.phpt
Niels Dossche a70fd5386b Move regression tests of SOAP to bugs directory (#14322)
There's a bugs directory but it wasn't always used, move the regression
tests to this directory.
2024-05-27 19:21:35 +02:00

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