/
proc
/
3430793
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
enchant
/
tests
/
File Upload :
llllll
Current File: //proc/3430793/root/usr/local/lsws/phpbuild/php-8.0.7/ext/enchant/tests/bug53070.phpt
--TEST-- Bug #53070 (enchant_broker_get_path crashes if no path is set) --SKIPIF-- <?php if(!extension_loaded('enchant')) die('skip, enchant not loader'); if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");} if (defined("LIBENCHANT_VERSION") && version_compare(LIBENCHANT_VERSION, "2", ">")) die('skip libenchant v1 only'); ?> --FILE-- <?php $broker = enchant_broker_init(); var_dump(enchant_broker_get_dict_path($broker, ENCHANT_MYSPELL)); var_dump(enchant_broker_get_dict_path($broker, ENCHANT_ISPELL)); ?> --EXPECTF-- Deprecated: Constant ENCHANT_MYSPELL is deprecated in %s Deprecated: Function enchant_broker_get_dict_path() is deprecated in %s Warning: enchant_broker_get_dict_path(): dict_path not set in %s on line %d bool(false) Deprecated: Constant ENCHANT_ISPELL is deprecated in %s Deprecated: Function enchant_broker_get_dict_path() is deprecated in %s Warning: enchant_broker_get_dict_path(): dict_path not set in %s on line %d bool(false)
Copyright ©2k19 -
Hexid
|
Tex7ure