Blog
PHP – Foreach By Reference
Today I was writing some code in which I wanted to modify the values of an array within a for-loop. The obvious solution would be to use the key to modify the value but there is actually another way of doing it: The above code will actually go through the Read more…