added support for optional length in the slice [] notation
authorFabien Potencier <fabien.potencier@gmail.com>
Sat, 14 Jan 2012 08:27:35 +0000 (09:27 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Sat, 14 Jan 2012 08:27:35 +0000 (09:27 +0100)
commitd8951853ba5a5c33e859abffca8e986aae35f21b
treed79fc26959ef040c8d8483520f956a654b670e0d
parentd9dc813dfd64119815edc4ec533528de2ef4c3d6
added support for optional length in the slice [] notation
lib/Twig/ExpressionParser.php
test/Twig/Tests/Fixtures/filters/slice.test