diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/soap/tests/bug46760.phpt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ext/soap/tests/bug46760.phpt b/ext/soap/tests/bug46760.phpt new file mode 100644 index 0000000000..0b7c9ab4c1 --- /dev/null +++ b/ext/soap/tests/bug46760.phpt @@ -0,0 +1,16 @@ +--TEST-- +Bug #46760 (SoapClient doRequest fails when proxy is used) +--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->_proxy_port); + +?> +--EXPECT-- +int(8080) |