Added note about array_merge php function

This commit is contained in:
Andrej Hudec
2014-08-24 00:31:40 +02:00
parent e2d2a250d9
commit f712b8f8e6
+6
View File
@@ -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