Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/ext/pspell/tests/ |
Current File : //proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/ext/pspell/tests/005.phpt |
--TEST-- pspell configs --SKIPIF-- <?php if (!extension_loaded('pspell')) die('skip'); if (!@pspell_new('en')) die('skip English dictionary is not available'); ?> --FILE-- <?php $wordlist = dirname(__FILE__).'/wordlist.txt'; var_dump(pspell_new_personal(__FILE__, 'en')); $p = pspell_new_personal($wordlist, 'en'); var_dump(pspell_check($p, 'dfnvnsafksfksf')); echo "--\n"; $cfg = pspell_config_create('en'); var_dump(pspell_config_personal($cfg, "$wordlist.tmp")); $p = pspell_new_config($cfg); copy($wordlist, "$wordlist.tmp"); var_dump(pspell_check($p, 'ola')); var_dump(pspell_add_to_personal($p, 'ola')); var_dump(pspell_check($p, 'ola')); echo "--\n"; var_dump(pspell_save_wordlist($p)); var_dump(strpos(file_get_contents("$wordlist.tmp"), 'ola') !== FALSE); unlink("$wordlist.tmp"); ?> --EXPECTF-- Warning: pspell_new_personal(): PSPELL couldn't open the dictionary. reason: The file "%s005.php" is not in the proper format. in %s005.php on line 5 bool(false) bool(true) -- bool(true) bool(false) bool(true) bool(true) -- bool(true) bool(true)
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare