array(2) {
[0]=> array(3) {
["ID"]=> string(1) "1
["UF_USER_ID"]=> string(1) "2"
["UF_NEWS"]=> string(4) "[11]"
}
[1]=> array(3) {
["ID"]=> string(1) "7"
["UF_USER_ID"]=> string(2) "15"
["UF_NEWS"]=> string(2) "[14,15,66]"
}
}
function appendData($el){
if(isset($el['UF_NEWS'])){
$el['UF_NEWS'] .= rand(0,1000);
}
return $el;
}
$r = array_map("appendData", $youArray);