$colors = array("red", "green", "blue", "yellow");
foreach ($colors as $key => $value) {
$value = strtoupper($value);
$colors[$key] = $value;
}
0
solved php store variable into array [closed]
$colors = array("red", "green", "blue", "yellow");
foreach ($colors as $key => $value) {
$value = strtoupper($value);
$colors[$key] = $value;
}
0
solved php store variable into array [closed]