compatibility issue

From: Date: Thu, 10 Apr 2003 04:44:28 +0000
Subject: compatibility issue
Groups: php.soap 
Request: Send a blank email to php-soap+get-536@lists.php.net to get a copy of this message
Hi everyone, I've been working on the pear::soap library the past few days, and one of the changes I have made would break BC with previous versions. However, this breakage may be necessary. The issue is that the call method on the soap client did not take the parameters argument as a reference. So if you passed in objects to be serialized, those objects would get copied. Forcing that parameter to be a reference prevents what may be commen usage: $client->call('method',array($params)); That would have to be changed to: $v = array($params); $client->call('method',$v); I'm interested in peoples opinion on this change. Regards, Shane

« previous php.soap (#536) next »