1--TEST--
2enchant_broker_list_dicts() function
3--CREDITS--
4marcosptf - <marcosptf@yahoo.com.br>
5--SKIPIF--
6<?php
7if(!extension_loaded('enchant')) die('skip, enchant not loader');
8if (!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
9?>
10--FILE--
11<?php
12$broker = enchant_broker_init();
13if (is_resource($broker)) {
14    echo("OK\n");
15    $brokerListDicts = enchant_broker_list_dicts($broker);
16
17    if (is_array($brokerListDicts)) {
18        echo("OK\n");
19    } else {
20        echo("broker list dicts failed\n");
21    }
22} else {
23    echo("init failed\n");
24}
25?>
26--EXPECT--
27OK
28OK
29