php foreach with internal array 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;
}