Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.5

Bug #3363 BC Break in 1.2RC
Submitted: 2005-02-02 17:21 UTC
From: sean at caedmon dot net Assigned: danielc
Status: Closed Package: XML_RPC
PHP Version: Irrelevant OS: n/a
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 50 - 1 = ?

 
 [2005-02-02 17:21 UTC] sean at caedmon dot net
Description: ------------ In XML_RPC (Server) 1.1, I was able to do the following: new XML_RPC_Server(array('example.foo' => array('function'=>'FooClass::FooMethod', 1); In 1.2RC, I must do: new XML_RPC_Server(array('example.foo' => array('function'=>array('FooClass','FooMethod'), 1); Obviously, this new way is more "proper", but it's a BC Break. Reproduce code: --------------- Pseudo-Patch (sorry, I don't have time to look at the code, right now. If you'd like, I'll patch (& commit) later) $functionName = !is_array($functionName) && strpos($functionName, '::') ? explode('::', $functionName) : $functionName;

Comments

 [2005-02-22 01:17 UTC] danielc
Fixed in CVS.