|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-11-13 22:41 UTC] vrana@php.net
[2009-11-13 22:41 UTC] svn@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 18:00:02 2025 UTC |
Description: ------------ The documentation for xmlrpc_encode_request includes these two lines: $response = xmlrpc_decode($file); if (xmlrpc_is_fault($response)) { xmlrpc_decode's result type is mixed. When it returns something that is not an array, the following notice is thrown: PHP Notice: xmlrpc_is_fault(): Array argument expected in <file> on line <line> In bug #40793, it was reasserted that this notice from xmlrpc_is_fault() is by design. Thus, the example code must be wrong. (I wouldn't expect that a proper example should throw notices.)