php 5.6 phalcon 2.0.7. Briefly because i am doing something else now.
In a macro i have an error Unexpected ENDIF in ...volt
3 nested for but for not nested i didn't have any - it is about syntax error but it shouldn't be if true is for academic purposes :)
{% if true %}
{% for position_id, subpositionarray in params[1][params[0]]|sort %}
<div>{{position_id}}
{% for priority, priorityarray in subpositionarray|sort %}
<div>{{priority}}
{% for html in priorityarray %}
<div>{{html}}</div>
{% endfor %}
</div>
{% endfor %}
</div>
{% endfor %}
{% endif %}
This is ok
{% if true %}
{% for position_id, subpositionarray in params[1][params[0]]|sort %}
<div>{{position_id}}
</div>
{% endfor %}
{% endif %}
Macro is loaded in partial from volt extended class before anyghing else is loaded.