1--TEST--
2Bug #55610: ResourceBundle does not implement Traversable
3--SKIPIF--
4<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
5--FILE--
6<?php
7    include "resourcebundle.inc";
8
9    $r = new ResourceBundle( 'es', BUNDLE );
10
11    var_dump($r instanceof Traversable);
12    var_dump(iterator_to_array($r->get('testarray')));
13?>
14--EXPECT--
15bool(true)
16array(3) {
17  [0]=>
18  string(8) "cadena 1"
19  [1]=>
20  string(8) "cadena 2"
21  [2]=>
22  string(8) "cadena 3"
23}
24