XMLRPC Bug

From: Date: Mon, 17 Dec 2001 15:56:22 +0000
Subject: XMLRPC Bug
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-74150@lists.php.net to get a copy of this message
Is anyone reading this list? I haven't heard a thing since last week when I posted what I think might be a serious bug in the extension (see also http://bugs.php.net/?id=14521). Basically, you define a method. When executed, the server passes it the appropriate parameters. However, what is really passed is actually a one-element array with the paramaters as the only value. For example, if your server sends the data $foo, what the method actually receives is someting like array( 0 => $foo); This is true in all cases, *except* where $foo is an unindexed array. In those cases, the method receives $foo, not array($foo). It should, I'm pretty sure, be one or the other, and I think the unindexed array case is correct: if you send it $foo, it should receive $foo. I'm hoping the developers could look into this soon ... I'm eager to start using this extension, but want to be fairly sure it works first. :) - Colin

« previous php.dev (#74150) next »