I am looking for a fastest(performance) way to cycle/alternative 2 values inside of a foreach loop. Exactly the same as the smarty works: http://www.smarty.net/docsv2/en/language.function.cycle
I am looking for a fastest(performance) way to cycle/alternative 2 values inside of a
Share
P.S. And don’t think you should be very concerned about performance in this case.