Explore Twig template engine features in a sandboxed environment. This lab allows arbitrary templates with security restrictions to prevent system access.
Available Variables:
⚡ Twig Sandbox is enabled - Some operations are restricted for security
{{ user }}
{{ 10 + 20 * 3 }}
{{ "hello" | upper }}
{{ date("Y-m-d") }}
{% set name = "World" %}Hello {{ name }}!
{{ users | json_encode }}
{{ items | join(", ") }}
{{ range(1, 10) | join(" ") }}