--TEST--
"iterable" test
--TEMPLATE--
{{ foo is iterable ? 'ok' : 'ko' }}
{{ traversable is iterable ? 'ok' : 'ko' }}
{{ obj is iterable ? 'ok' : 'ko' }}
{{ val is iterable ? 'ok' : 'ko' }}
--DATA--
return [
    'foo' => [],
    'traversable' => new \ArrayIterator([]),
    'obj' => new \stdClass(),
    'val' => 'test',
]
--EXPECT--
ok
ok
ko
ko