From: Fabien Potencier Date: Thu, 22 Dec 2011 21:41:37 +0000 (+0100) Subject: merged branch arnaud-lb/hash-key-expr (PR #514) X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=8665c6463461ccd0afec1ff943b45b56ad01a06e;p=web%2Fkonrad%2Ftwig.git merged branch arnaud-lb/hash-key-expr (PR #514) Commits ------- 542e9e7 added getKeyValuePairs() on Twig_Node_Expression_Array 3f64f1d added test for hash keys 4bdb3a9 fixed tests 3b1f269 support 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. --- 8665c6463461ccd0afec1ff943b45b56ad01a06e