mirror of
https://github.com/php/php-src.git
synced 2026-04-20 06:21:12 +02:00
This was previously implicitly public due to the use of dynamic properties. Make this internal state private. If someone complains, we can consider relaxing this to protected or public on a case-by-case basis.
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
|