passar valor para array em um foreach php code example
Example: forreah php
$arr = array(1, 2, 3, 4);
foreach ($arr as &$value) {
$value = $value * 2;
}
$arr = array(1, 2, 3, 4);
foreach ($arr as &$value) {
$value = $value * 2;
}