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-- bug #13181, leaving a context frees the broker resources --SKIPIF-- <?php if (!extension_loaded('enchant')) { echo "skip: Enchant extension not enabled\n"; exit; } $broker = enchant_broker_init(); if (!$broker) { echo "skip: Unable to init broker\n"; exit; } if (!enchant_broker_list_dicts($broker)) { enchant_broker_free($broker); echo "skip: No broker dicts installed\n"; } enchant_broker_free($broker); ?> --FILE-- <?php function get_dictionnary() { $rBroker = enchant_broker_init(); $t = enchant_broker_request_dict($rBroker, 'en'); var_dump($t); return $t; } $rDict = get_dictionnary(); var_dump($rDict); enchant_dict_suggest($rDict, "soong"); function get_broker() { $t = enchant_broker_init(); var_dump($t); return $t; } $rbroker = get_broker(); var_dump($rbroker); function get_dict($broker) { $t = enchant_broker_request_dict($broker, 'en'); var_dump($t); return $t; } $rDict = get_dict($rbroker); var_dump($rDict); ?> --EXPECTF-- resource(%d) of type (enchant_dict) resource(%d) of type (enchant_dict) resource(%d) of type (enchant_broker) resource(%d) of type (enchant_broker) resource(%d) of type (enchant_dict) resource(%d) of type (enchant_dict)