Two ways, you can alter the memory location shared by the current value directly, or access the value using the source array.
// Memory reference
foreach ($bizaddarray as &$value) {
$value = strip_tags(ucwords(strtolower($value)));
}
unset($value); # remove the reference
Or
// Use source array
foreach ($bizaddarray as $key => $value) {
$bizaddarray[$key] = strip_tags(ucwords(strtolower($value)));
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…