I am using Volt and PHP in phalcon volt partial
I want to iterate a loop and in the loop I have php code that accept a parameter
this is my code
{% for header in headers %}
<th>
<?=gettext( {{header}} );?>
</th>
{% endfor %}
here header
is a parameter that is used in php code
but I get this error
what is the right way to rewrite this code
Reading documentation shows that echo command is using
{{ }}
instead of normal PHP tag<?= ?>
: