summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2009-01-05 22:17:28 +0000
committerFelipe Pena <felipe@php.net>2009-01-05 22:17:28 +0000
commitaea77fd164b299c7dba874757015960536357547 (patch)
tree9d24daf61bd72174034d3b73ca507bf48e422326
parent7454cbd7f37581c20988e6b8cdd65c750f48ae85 (diff)
downloadphp-git-aea77fd164b299c7dba874757015960536357547.tar.gz
- New test
-rw-r--r--ext/soap/tests/bug46760.phpt16
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)