You are probably right, but I can't touch foo at the moment... It stands for a number of objects' methods that I cannot change.
I am given this deck of cards, and deal with it... I guess that for the sake of simplicity, brevity (and less duration of memory footprint), I'll use the anonymous array method.
Re^2: using function output ananymous array vs. named array in foreach
Replies are listed 'Best First'.