Current Path: > > opt > cloudlinux > alt-php72 > root > usr > share > > pear > test > XML_RPC > tests
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
actual-request.php | File | 1833 bytes | May 12 2025 17:07:02. | |
allgot.inc | File | 1280 bytes | May 12 2025 17:07:02. | |
empty-value-struct.php | File | 1803 bytes | May 12 2025 17:07:02. | |
empty-value.php | File | 1785 bytes | May 12 2025 17:07:02. | |
encode.php | File | 2257 bytes | May 12 2025 17:07:02. | |
extra-lines.php | File | 2249 bytes | May 12 2025 17:07:02. | |
protoport.php | File | 10759 bytes | May 12 2025 17:07:02. | |
test_Dump.php | File | 2136 bytes | May 12 2025 17:07:02. | |
types.php | File | 2551 bytes | May 12 2025 17:07:02. |
<?php /** * Parses the "return" value from some of our test scripts. * * PHP versions 4 and 5 * * @category Web Services * @package XML_RPC * @author Daniel Convissor <danielc@php.net> * @copyright 2005-2010 The PHP Group * @license http://www.php.net/license/3_01.txt PHP License * @version SVN: $Id: allgot.inc 293223 2010-01-07 15:32:19Z danielc $ * @link http://pear.php.net/package/XML_RPC * @since File available since Release 1.4.4 */ ob_start(); function returnAllGot($params) { $out = ''; $count = count($params->params); for ($i = 0; $i < $count; $i++) { $param = $params->getParam($i); if (!XML_RPC_Value::isValue($param)) { $out .= "parameter $i was error: $param\n"; continue; } $got = XML_RPC_Decode($param); $out .= "param $i: " . var_export($got, true) . "\n"; } $val = new XML_RPC_Value($out, 'string'); return new XML_RPC_Response($val); } $server = new XML_RPC_Server( array( 'allgot' => array( 'function' => 'returnAllGot', ), ) ); $got = ob_get_clean(); if ($got == $expect) { echo "passed\n"; } else { echo "FAILED\n"; echo "Expected:\n$expect\n"; echo "Got:\n$got\n"; }
SILENT KILLER Tool