Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
ext /
enchant /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
broker_describe.phpt
1
KB
-rw-rw-r--
2022-10-31 11:36
broker_dict_exists.phpt
634
B
-rw-rw-r--
2022-10-31 11:36
broker_free.phpt
452
B
-rw-rw-r--
2022-10-31 11:36
broker_free_01.phpt
542
B
-rw-rw-r--
2022-10-31 11:36
broker_free_02.phpt
1.52
KB
-rw-rw-r--
2022-10-31 11:36
broker_free_dict.phpt
1.26
KB
-rw-rw-r--
2022-10-31 11:36
broker_get_error.phpt
600
B
-rw-rw-r--
2022-10-31 11:36
broker_init.phpt
419
B
-rw-rw-r--
2022-10-31 11:36
broker_list_dicts.phpt
793
B
-rw-rw-r--
2022-10-31 11:36
broker_request_dict.phpt
838
B
-rw-rw-r--
2022-10-31 11:36
broker_request_dict_01.phpt
812
B
-rw-rw-r--
2022-10-31 11:36
broker_request_pwl_dict.phpt
1013
B
-rw-rw-r--
2022-10-31 11:36
broker_set_ordering.phpt
786
B
-rw-rw-r--
2022-10-31 11:36
bug13181.phpt
1.18
KB
-rw-rw-r--
2022-10-31 11:36
bug53070.phpt
607
B
-rw-rw-r--
2022-10-31 11:36
dict_add_to_personal.phpt
1.07
KB
-rw-rw-r--
2022-10-31 11:36
dict_add_to_session.phpt
1.07
KB
-rw-rw-r--
2022-10-31 11:36
dict_check.phpt
1.03
KB
-rw-rw-r--
2022-10-31 11:36
dict_describe.phpt
1003
B
-rw-rw-r--
2022-10-31 11:36
dict_get_error.phpt
835
B
-rw-rw-r--
2022-10-31 11:36
dict_is_in_session.phpt
1.1
KB
-rw-rw-r--
2022-10-31 11:36
dict_quick_check.phpt
773
B
-rw-rw-r--
2022-10-31 11:36
dict_quick_check_01.phpt
987
B
-rw-rw-r--
2022-10-31 11:36
dict_store_replacement.phpt
1.1
KB
-rw-rw-r--
2022-10-31 11:36
dict_suggest.phpt
1008
B
-rw-rw-r--
2022-10-31 11:36
enchant_broker_request_pwl_dict.pwl
58
B
-rw-rw-r--
2022-10-31 11:36
enchant_broker_set_dict_path.phpt
1.56
KB
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- enchant_dict_is_in_session() function --CREDITS-- marcosptf - <marcosptf@yahoo.com.br> --SKIPIF-- <?php if(!extension_loaded('enchant')) die('skip, enchant not loader'); if (!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");} if (!is_array(enchant_broker_list_dicts(enchant_broker_init()))) {die("skip, dont has dictionary install in this machine! \n");} ?> --FILE-- <?php $broker = enchant_broker_init(); $dicts = enchant_broker_list_dicts($broker); $newWord = "aspell"; if (is_resource($broker)) { echo("OK\n"); $requestDict = enchant_broker_request_dict($broker, $dicts[0]['lang_tag']); if ($requestDict) { echo("OK\n"); $AddtoPersonalDict = enchant_dict_add_to_personal($requestDict,$newWord); if (NULL === $AddtoPersonalDict) { var_dump(enchant_dict_is_in_session($requestDict,$newWord)); } else { echo("dict add to personal failed\n"); } } else { echo("broker request dict failed\n"); } } else { echo("broker is not a resource; failed;\n"); } echo("OK\n"); ?> --EXPECT-- OK OK bool(true) OK