Archive

Posts Tagged ‘foreach’

Garbage collector problem after foreach loop ?

April 1st, 2009

In PHP5, it is possible to loop through an array, and alter each item on the fly via the “by-reference” operator: the &-symbol. However, you should be on the lookout for unexpected behaviour.
Read more…

admin PHP , , ,