mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-09 13:25:41 +00:00
8665c64634
Commits -------542e9e7added getKeyValuePairs() on Twig_Node_Expression_Array3f64f1dadded test for hash keys4bdb3a9fixed tests3b1f269support any expression as hash key Discussion ---------- Allow hash keys to be any expression This allows hash keys to be any expression --------------------------------------------------------------------------- by fabpot at 2011/12/07 02:08:19 -0800 I had not implemented this feature back then because I'm not sure it makes sense to support it in the context of a templating system. I'm still not convinced that this is useful.