Skip to content

Commit

Permalink
Fix some example code in the manual
Browse files Browse the repository at this point in the history
  • Loading branch information
gggeek committed Feb 21, 2015
1 parent ab48ab0 commit f8c4658
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/xmlrpc_php.xml
Expand Up @@ -1322,10 +1322,10 @@ PHP-XMLRPC User manual
<para>Examples:</para>

<programlisting language="php">
$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
</programlisting>

<para>The fourth constructor form can be used to compose complex
Expand Down

0 comments on commit f8c4658

Please sign in to comment.