the array:
('abc', 'def', 'xyz')
foreach($arr as $item)
// change $item here
Can I do this without creating a intermediate array?
Use a reference.
foreach($arr as &$item)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With