From: Andrej Hudec Date: Sat, 23 Aug 2014 22:31:40 +0000 (+0200) Subject: Added note about array_merge php function X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=f712b8f8e647a77d05400b9ab1c340c90f95015d;p=web%2Fkonrad%2Ftwig.git Added note about array_merge php function --- diff --git a/doc/filters/merge.rst b/doc/filters/merge.rst index 05a2ae7..cb8b1b2 100644 --- a/doc/filters/merge.rst +++ b/doc/filters/merge.rst @@ -39,3 +39,9 @@ overridden. {% set items = { 'apple': 'unknown' }|merge(items) %} {# items now contains { 'apple': 'fruit', 'orange': 'fruit' } #} + +.. note:: + + Internally, Twig uses the PHP `array_merge`_ function. + +.. _`array_merge`: http://php.net/array_merge