xref: /PHP-7.1/ext/xmlrpc/tests/004.phpt (revision 113213f0)
1--TEST--
2xmlrpc_encode() Simple test encode int
3--SKIPIF--
4<?php if (!extension_loaded("xmlrpc")) print "skip"; ?>
5--FILE--
6<?php
7
8$response = xmlrpc_encode(1);
9echo $response;
10--EXPECT--
11<?xml version="1.0" encoding="utf-8"?>
12<params>
13<param>
14 <value>
15  <int>1</int>
16 </value>
17</param>
18</params>
19