note 105664 modified in function.xmlrpc-decode by danbrown
| From: | danbrown@php.net | Date: | Tue, 06 Sep 2011 15:35:09 +0000 |
| Subject: | note 105664 modified in function.xmlrpc-decode by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-182978@lists.php.net to get a copy of this message | ||
Make sure the server isn't returning a string with a space for the first character, this fails
in version 5.3.3 and the function returns null (though seems to be ok in 5.2).
Easily sorted by trimming the response data:
<?php xmlrpc_decode( trim($response) ); ?>
--was--
Make sure the server isn't returning a string with a space for the first character, this fails
in version 5.3.3 and the function returns null (though seems to be ok in 5.2).
Easily sorted by trimming the response data:
xmlrpc_decode( trim($response) );
http://php.net/manual/en/function.xmlrpc-decode.php