--TEST--
"merge" filter
--TEMPLATE--
{{ items|merge({'bar': 'foo'})|join }}
{{ items|merge({'bar': 'foo'})|keys|join }}
{{ {'bar': 'foo'}|merge(items)|join }}
{{ {'bar': 'foo'}|merge(items)|keys|join }}
{{ numerics|merge([4, 5, 6])|join }}
{{ traversable.a|merge(traversable.b)|join }}
--DATA--
return [
    'items' => ['foo' => 'bar'],
    'numerics' => [1, 2, 3],
    'traversable' => [
        'a' => new \ArrayObject([0 => 1, 1 => 2, 2 => 3]),
        'b' => new \ArrayObject(['a' => 'b'])
    ]
]
--EXPECT--
barfoo
foobar
foobar
barfoo
123456
123b
