|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-01-05 22:18 UTC] felipe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 07:00:01 2025 UTC |
Description: ------------ When a proxy is used with the following code. The proxy is not used. Problem is in that the proxy_port is a string type. When the port is type casted to an int it will work. Reproduce code: --------------- $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')); echo $client->__doRequest('<?xml version="1.0" encoding="UTF-8"?>...etc', 'http://some.url', "add", '1.2'); Expected result: ---------------- That the proxy will receive the request. Actual result: -------------- The call is done without the use of the proxy.