Details |
Letzte Änderung |
Log anzeigen
| RSS feed
| Revision |
Autor |
Zeilennr. |
Zeile |
| 1 |
lars |
1 |
--TEST--
|
|
|
2 |
Request XML-RPC encoding (Php Backend)
|
|
|
3 |
--FILE--
|
|
|
4 |
<?php
|
|
|
5 |
set_include_path(realpath(dirname(__FILE__) . '/../../../../') . PATH_SEPARATOR . get_include_path());
|
|
|
6 |
require_once 'XML/RPC2/Backend/Php/Response.php';
|
|
|
7 |
var_dump(XML_RPC2_Backend_Php_Response::encode(array(1, true, 'a string')));
|
|
|
8 |
?>
|
|
|
9 |
--EXPECT--
|
|
|
10 |
string(248) "<?xml version="1.0" encoding="utf-8"?><methodResponse><params><param><value><array><data><value><int>1</int></value><value><boolean>1</boolean></value><value><string>a string</string></value></data></array></value></param></params></methodResponse>"
|