Hello Monks, What is the cleanest(i.e. short and sweet) way to know if you are working on the last element of the array in a foreach? Thanks!
UPDATE: Sorry - I should be more specific - It isn't an array per se, but a function that is returning an array, i.e.: