Kevin Boyd 8ebbaaa4cc 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]")
2013-03-17 23:18:20 -07:00
2013-02-09 19:37:02 +01:00
2013-03-10 02:06:44 +00:00
2013-03-10 02:06:44 +00:00
2012-11-18 21:42:00 +01:00
2013-03-10 02:06:44 +00:00
2013-01-04 17:54:54 +01:00

Twig, the flexible, fast, and secure template language for PHP

Build Status

Twig is a template language for PHP, released under the new BSD license (code and documentation).

Twig uses a syntax similar to the Django and Jinja template languages which inspired the Twig runtime environment.

More Information

Read the documentation for more information.

Languages
PHP 99.9%