-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /usr/src/php/ext/enchant/tests/
File Upload :
Current File : //usr/src/php/ext/enchant/tests/dict_quick_check.phpt

--TEST--
enchant_dict_quick_check() basic test
--SKIPIF--
<?php
if(!extension_loaded('enchant')) die('skip, enchant not loader');

$tag = 'en_US';
$r = enchant_broker_init();
if (!enchant_broker_dict_exists($r, $tag))
    die('skip, no dictionary for ' . $tag . ' tag');
?>
--FILE--
<?php

$tag = 'en_US';
$r = enchant_broker_init();

$d = enchant_broker_request_dict($r, $tag);
enchant_dict_quick_check($d, 'soong', $suggs);

echo "Elements: " . count($suggs) . "\n";
echo "Done\n";
?>
--EXPECTF--
Elements: %d
Done

Copyright © 2017 || Recoded By Mr.Bumblebee