Closed survik1 closed 1 year ago
Version: 3.0.x
Since v3 syntax foreach as list() is no longer working.
foreach
list()
https://fiddle.nette.org/latte/#e09e2e14ee
foreach as list() is supported php construct, Latte should support it as well especially since it worked in 2.x
foreach as list()
As a workaround, use the shorter syntax https://fiddle.nette.org/latte/#4cc329876f
Version: 3.0.x
Bug Description
Since v3 syntax
foreach
aslist()
is no longer working.Steps To Reproduce
https://fiddle.nette.org/latte/#e09e2e14ee
Expected Behavior
foreach as list()
is supported php construct, Latte should support it as well especially since it worked in 2.x