<?php
'Carlos',
'Andre',
'Rosinei',
'Vinicius',
'Thales'
);
5,
3,
3,
3,
2
);
function misturar($nome, $perc){
return $nome.' - '.$perc.'%';
}
$c = array_map("misturar", $corretor, $comissao);
PD9waHAKCiRjb3JyZXRvciA9IGFycmF5KAogICdDYXJsb3MnLAogICdBbmRyZScsCiAgJ1Jvc2luZWknLAogICdWaW5pY2l1cycsCiAgJ1RoYWxlcycKKTsKJGNvbWlzc2FvID0gYXJyYXkoCiAgIDUsCiAgIDMsCiAgIDMsCiAgIDMsCiAgIDIKKTsKCmZ1bmN0aW9uIG1pc3R1cmFyKCRub21lLCAkcGVyYyl7CglyZXR1cm4gJG5vbWUuJyAtICcuJHBlcmMuJyUnOwkKfQoKJGMgPSBhcnJheV9tYXAoIm1pc3R1cmFyIiwgJGNvcnJldG9yLCAkY29taXNzYW8pOwplY2hvIGltcGxvZGUoJGMsICcgfCAnKTs=