Report new bug | New search | Development Roadmap Status: Open | Feedback | All

Bug #2976 Invalid Example
Submitted: 2004-12-16 12:28 UTC
From: elf at php dot net Assigned: arnaud
Status: Closed Package: Documentation
PHP Version: Irrelevant OS:
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 : 44 - 39 = ?

 
 [2004-12-16 12:28 UTC] elf at php dot net
Description: ------------ case output to HTML, invalid example in chapter of "Method signatures" Expected result: ---------------- $s = new XML_RPC_Server(array("examples.getStateName" => array("function" => "findstate", "signature" => $findstate_sig, "docstring" => $findstate_doc))); Actual result: -------------- $s = new XML_RPC_Server(array("examples.getStateName" => array("function" => "findstate", "signature" => $findstate_sig, "docstring" => $findstate_doc)));

Comments

 [2004-12-21 09:42 UTC] elf at php dot net
It corrected some un-arranging. Please commit someone. $ cvs diff api.xml Index: api.xml =================================================================== RCS file: /repository/peardoc/en/package/webservices/xml-rpc/api.xml,v retrieving revision 1.5 diff -r1.5 api.xml 897c897 < return new XML_RPC_Response(0, $xmlrpcerruser+1, // user error 1 --- > return new XML_RPC_Response(0, $XML_RPC_erruser+1, // user error 1 976,979c976,979 < $s = new XML_RPC_Server(array("examples.getStateName" => < array("function" => "findstate", < "signature" => $findstate_sig, < "docstring" => $findstate_doc))); --- > $s = new XML_RPC_Server(array("examples.getStateName" => > array("function" => "findstate", > "signature" => $findstate_sig, > "docstring" => $findstate_doc))); 989,997c989,997 < $xmlrpcI4 = "i4"; < $xmlrpcInt = "int"; < $xmlrpcBoolean = "boolean"; < $xmlrpcDouble = "double"; < $xmlrpcString = "string"; < $xmlrpcDateTime = "dateTime.iso8601"; < $xmlrpcBase64 = "base64"; < $xmlrpcArray = "array"; < $xmlrpcStruct = "struct"; --- > $XML_RPC_I4 = "i4"; > $XML_RPC_INT = "int"; > $XML_RPC_Boolean = "boolean"; > $XML_RPC_Double = "double"; > $XML_RPC_String = "string"; > $XML_RPC_DateTime = "dateTime.iso8601"; > $XML_RPC_Base64 = "base64"; > $XML_RPC_Array = "array"; > $XML_RPC_Struct = "struct";
 [2004-12-21 17:06 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!