XML_RPC (RPC.php)

From: Date: Wed, 25 Jul 2001 11:38:48 +0000
Subject: XML_RPC (RPC.php)
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-1045@lists.php.net to get a copy of this message
There is a mistake in the helper class at /php4/pear/XML/RPC.php which look as based on version 1.b9 of the classes by Edd Dumbill, the definition of the boolean type is not made global in the function function XML_RPC_encode($php_val) so the additional test for boolean fails 1093d1092 < global $XML_RPC_Boolean; These two helper methods (XML_RPC_encode and XML_RPC_decode), plus the methods iso8601_encode, iso8601_decode, and their duplicates XML_RPC_iso8601_encode and XML_RPC_iso8601_decode as well as the the parser XML_RPC_se, XML_RPC_ee et various other methods, in the PEARDoc are said to be private class methods , but actually they are out of any class definition, in the global. I see that the extension to the original to add encoding of php objects has been added. Very nice I wonder what licence applies to this. Giancarlo

« previous php.pear.dev (#1045) next »