$array = [];
$array[] = array("value"=>"val1","procent"=>"0.6");
$array[] = array("value"=>"val2","procent"=>"0.3");
$sum_weight = 0;
foreach($values as $value) {
$sum_weight += $value['procent'];
}
$rest = rand(0, 100500) / 100500 * $sum_weight;
$result = false;
foreach($values as $value) {
if($value['procent'] >= $rest) {
$result = $value['value'];
break;
}
$rest -= $value['procent'];
}