Annotation of embedaddon/php/ext/xmlrpc/tests/006.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: xmlrpc_decode() Simple test decode type string
3:
4: --CREDITS--
5: Michel 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>
23: XML;
24:
25: $response = xmlrpc_decode($xml);
26: echo $response;
27:
28: --EXPECT--
29: Is string
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>