--TEST-- macro with varargs argument --TEMPLATE-- {% macro test(varargs) %} {% endmacro %} --EXCEPTION-- Twig\Error\SyntaxError: The argument "varargs" in macro "test" cannot be defined because the variable "varargs" is reserved for arbitrary arguments in "index.twig" at line 2.
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
default_values.test | File | 209 B | 0644 |
|
nested_calls.test | File | 224 B | 0644 |
|
reserved_variables.test | File | 180 B | 0644 |
|
simple.test | File | 353 B | 0644 |
|
unknown_macro.test | File | 222 B | 0644 |
|
varargs.test | File | 374 B | 0644 |
|
varargs_argument.test | File | 280 B | 0644 |
|
with_filters.test | File | 215 B | 0644 |
|