Blame | Letzte Änderung | Log anzeigen | RSS feed
--TEST--PHP Backend XML-RPC client against phpxmlrpc validator1 (moderateSizeArrayCheck)--SKIPIF--<?phpif (!function_exists('curl_init')) {print "Skip no CURI extension available";}?>--FILE--<?phpset_include_path(realpath(dirname(__FILE__) . '/../../../../') . PATH_SEPARATOR . get_include_path());require_once 'XML/RPC2/Client.php';$options = array('debug' => false,'backend' => 'Php','prefix' => 'validator1.');$client = XML_RPC2_Client::create('http://phpxmlrpc.sourceforge.net/server.php', $options);$tmp = array('foo');for ($i = 0 ; $i<150 ; $i++) {$tmp[] = "bla bla bla";}$tmp[] = "bar";$result = $client->moderateSizeArrayCheck($tmp);echo($result . "\n");?>--EXPECT--foobar