xref: /PHP-5.4/ext/xmlrpc/tests/004.phpt (revision ac2d2b9b)
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
11--EXPECT--
12<?xml version="1.0" encoding="utf-8"?>
13<params>
14<param>
15 <value>
16  <int>1</int>
17 </value>
18</param>
19</params>