minor #2536 show how to use a variable as hash map key (tolry)
minor #2536 show how to use a variable as hash map key (tolry)

This PR was submitted for the 2.x branch but it was squashed and merged into the 1.x branch instead (closes #2536).

Discussion
----------

show how to use a variable as hash map key

currently the documentation does not explain how it's possible to use a variable as key in a hash map

Commits
-------

ef6c9505 show how to use a variable as hash map key

gencer/Twig,twigphp/Twig,twigphp/Twig,twigphp/Twig,gencer/Twig,nicolas-grekas/Twig,nicolas-grekas/Twig,nicolas-grekas/Twig,nicolas-grekas/Twig,nicolas-grekas/Twig