1--TEST-- 2xmlrpc_decode() Simple test decode type string 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 <string>Is string</string> 17 </value> 18</param> 19</params> 20XML; 21 22$response = xmlrpc_decode($xml); 23echo $response; 24--EXPECT-- 25Is string 26