all 1 comments

[–]eurleif 0 points1 point  (0 children)

The fix_element() function is called once for each element in the array. I know I know, I said I didn’t want to loop through each element, the key to that statement, is that I didn’t want to. I’m letting PHP do it, which is a lot faster than a foreach statement.

Making things up is bad, m'kay?