Files
Twig/tests/Fixtures/regression/strings_like_numbers.test
2019-06-30 14:51:54 +02:00

9 lines
166 B
Plaintext

--TEST--
Twig does not confuse strings with integers in getAttribute()
--TEMPLATE--
{{ hash['2e2'] }}
--DATA--
return ['hash' => ['2e2' => 'works']]
--EXPECT--
works