--TEST--
Bug #37057 (xmlrpc_decode() may produce arrays with numeric string keys which are unaccessible)
--SKIPIF--
--FILE--
50
0.29
';
$retval=xmlrpc_decode($response);
var_dump($retval);
var_dump($retval["50"]);
var_dump($retval[50]);
$response='
0
0.29
';
$retval=xmlrpc_decode($response);
var_dump($retval);
var_dump($retval["0"]);
var_dump($retval[0]);
echo "Done\n";
?>
--EXPECT--
array(1) {
[50]=>
string(4) "0.29"
}
string(4) "0.29"
string(4) "0.29"
array(1) {
[0]=>
string(4) "0.29"
}
string(4) "0.29"
string(4) "0.29"
Done