From: gggeek Date: Sat, 21 Feb 2015 23:18:59 +0000 (+0000) Subject: Fix some example code in the manual X-Git-Tag: 4.0.0-alpha^2~176 X-Git-Url: http://git.onelab.eu/?p=plcapi.git;a=commitdiff_plain;h=f8c46583190c7004883b6ae412dce9cf6010eb4c Fix some example code in the manual --- diff --git a/doc/xmlrpc_php.xml b/doc/xmlrpc_php.xml index 139ef6c..363f8a7 100644 --- a/doc/xmlrpc_php.xml +++ b/doc/xmlrpc_php.xml @@ -1322,10 +1322,10 @@ PHP-XMLRPC User manual Examples: -$myInt = new xmlrpcvalue(1267, "int"); -$myString = new xmlrpcvalue("Hello, World!", "string"); -$myBool = new xmlrpcvalue(1, "boolean"); -$myString2 = new xmlrpcvalue(1.24, "string"); // note: this will serialize a php float value as xmlrpc string +$myInt = new xmlrpcval(1267, "int"); +$myString = new xmlrpcval("Hello, World!", "string"); +$myBool = new xmlrpcval(1, "boolean"); +$myString2 = new xmlrpcval(1.24, "string"); // note: this will serialize a php float value as xmlrpc string The fourth constructor form can be used to compose complex