1--TEST--
2enchant_dict_quick_check() basic test
3--SKIPIF--
4<?php
5if(!extension_loaded('enchant')) die('skip, enchant not loader');
6
7$tag = 'en_US';
8$r = enchant_broker_init();
9if (!enchant_broker_dict_exists($r, $tag))
10    die('skip, no dictionary for ' . $tag . ' tag');
11?>
12--FILE--
13<?php
14
15$tag = 'en_US';
16$r = enchant_broker_init();
17
18$d = enchant_broker_request_dict($r, $tag);
19enchant_dict_quick_check($d, 'soong', $suggs);
20
21echo "Elements: " . count($suggs) . "\n";
22echo "Done\n";
23?>
24--EXPECTF--
25Elements: %d
26Done
27