fabpot/Twig — pull request #1032 by beryllium (2013-03-18 06:18:40+00:00)
Title: Adding a section about the slice filter

This code example shows how to loop over a subset of values in order to implement one common use-case of "break" in PHP. I decided to use the "full" notation of slice rather than the sugared version (that example would just be "for user in users[:10]")