I am using xmlrpc-epi v. 0.51/PHP Version 5.2.8. My problem is really weird. I need return this array (don't ask why, it is just example):
Code: Select all
Array
(
[3387112] => 3387112
[3385570] => 3385570
)
Code: Select all
function foo() {
$in = array("3387112","3385570");
$data = array();
foreach($in as $value) {
$data[ (string) $value ] = "$value";
}
return $data;
}
Code: Select all
Array
(
[0] => 3387112
[1] => 3385570
)