ID: 42190 Updated by: [EMAIL PROTECTED] Reported By: giunta dot gaetano at gmail dot com -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: irrelevant PHP Version: Irrelevant New Comment:
This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. > when setting type to base64, the encoding process is carried out by the function, the user does not need to do the base64 encoding on its own Encoding is not done by xmlrpc_set_type() but later. Previous Comments: ------------------------------------------------------------------------ [2007-08-02 21:07:51] giunta dot gaetano at gmail dot com Description: ------------ "Sets xmlrpc type, base64 or datetime, for a PHP string value" is fine, but a couple more details would be better off in the official docs than in the comments: + only valid values for $type are 'datetime' and 'base64' + when setting type to base64, the encoding process is carried out by the function, the user does not need to do the base64 encoding on its own + the type-setting process changes the string variable upon which it acts, converting it in fact (when successful) in an anonymous object + if conversion process fails, the function returns false, so it is easy to check if it worked before calling xmlrpc_encode() on the data ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42190&edit=1