xref: /PHP-7.3/ext/xmlrpc/tests/007.phpt (revision b746e698)
1--TEST--
2xmlrpc_decode() Simple test decode type int
3--CREDITS--
4Michel Araujo <araujo_michel@yahoo.com.br>
5#PHPSP 2013-08-22
6--SKIPIF--
7<?php if (!extension_loaded("xmlrpc")) print "skip"; ?>
8--FILE--
9<?php
10
11$xml = <<<XML
12<?xml version="1.0" encoding="utf-8"?>
13<params>
14<param>
15 <value>
16  <int>1</int>
17 </value>
18</param>
19</params>
20XML;
21
22$response = xmlrpc_decode($xml);
23echo $response;
24--EXPECT--
251
26