Files
Twig/tests/Fixtures/expressions/dot_as_concatenation.test
2026-01-17 14:57:47 +01:00

9 lines
224 B
Plaintext

--TEST--
Twig does not support using . for concatenation
--TEMPLATE--
{{ 'a'.'b' }}
--DATA--
return []
--EXCEPTION--
Twig\Error\SyntaxError: Expected name or number, got value "b" of type "string" in "index.twig" at line 2.