1--TEST-- 2enchant_broker_free() function 3--SKIPIF-- 4<?php 5if(!extension_loaded('enchant')) die('skip, enchant not loader'); 6 7 ?> 8--FILE-- 9<?php 10$broker = enchant_broker_init(); 11if (is_resource($broker)) { 12 echo "OK\n"; 13 enchant_broker_free($broker); 14} else { 15 exit("init failed\n"); 16} 17echo "OK\n"; 18?> 19--EXPECT-- 20OK 21OK 22