Annotation of embedaddon/php/ext/enchant/tests/broker_free.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: enchant_broker_free() function
! 3: --SKIPIF--
! 4: <?php
! 5: if(!extension_loaded('enchant')) die('skip, enchant not loader');
! 6:
! 7: ?>
! 8: --FILE--
! 9: <?php
! 10: $broker = enchant_broker_init();
! 11: if (is_resource($broker)) {
! 12: echo "OK\n";
! 13: enchant_broker_free($broker);
! 14: } else {
! 15: exit("init failed\n");
! 16: }
! 17: echo "OK\n";
! 18: ?>
! 19: --EXPECT--
! 20: OK
! 21: OK
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>