mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-28 19:17:37 +00:00
13 lines
275 B
Plaintext
13 lines
275 B
Plaintext
--TEST--
|
|
Exception for multile function with undefined variable
|
|
--TEMPLATE--
|
|
{{ include('foo',
|
|
with_context=with_context
|
|
) }}
|
|
--TEMPLATE(foo)--
|
|
Foo
|
|
--DATA--
|
|
return []
|
|
--EXCEPTION--
|
|
Twig\Error\RuntimeError: Variable "with_context" does not exist in "index.twig" at line 3.
|