in reply to foreach array - delete current row ?
delete the current row from an array when looping through it without setting up a counter and splice operationIHMO counter+splice is most feasible way. I use it when copying arrays with grep is too slow.
|
|---|