0byt3m1n1
Path:
/
home
/
mgatv524
/
www
/
shimoda
/
vendor
/
twig
/
twig
/
test
/
Twig
/
Tests
/
Fixtures
/
functions
/
[
Home
]
File: block_without_name.test
--TEST-- "block" function without arguments --TEMPLATE-- {% extends 'base.twig' %} {% block bar %}BAR{% endblock %} --TEMPLATE(base.twig)-- {% block foo %}{{ block() }}{% endblock %} {% block bar %}BAR_BASE{% endblock %} --DATA-- return array() --EXCEPTION-- Twig_Error_Syntax: The "block" function takes one argument (the block name) in "base.twig" at line 2.