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