|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2002-06-24 14:15 UTC] bruno dot pennec at netcourrier dot com
  [2002-06-24 16:18 UTC] bruno dot pennec at netcourrier dot com
 | |||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 08:00:01 2025 UTC | 
/** This code is a xmlrpc server response. One variable contain a xml fragment in which special characters have been "escaped". The result is : bad value instead of : <qos> <state id='OK'/> <sender>bad value</sender> </qos> it is really annoying for exchanging xml documents with each others **/ <?php $src = <<<toto <?xml version="1.0" encoding="ISO-8859-1"?> <methodResponse> <params> <param> <value> <array> <data> <value> <array> <data> <value><base64>MzAxMDU2MA==</base64></value> <value><string><qos> <state id='OK'/> <sender>bad value</sender> </qos></string></value> </data> </array> </value> </data> </array> </value> </param> </params> </methodResponse> toto ; print_r( xmlrpc_decode($src)); ?>