mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 11:56:50 +00:00
Added note about array_merge php function
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user