Don't think you can do $i%15, still need to do that check separately. I like how you can leave out the closing ?>. you can also save 2 spaces by getting rid of whitespace between statements and symbols .
The comments on the RapLeaf blog post I linked to in this thread has a guy trying out different Ruby solutions. Very clever!