1--TEST-- 2enchant_broker_free() function 3--CREDITS-- 4marcosptf - <marcosptf@yahoo.com.br> 5--SKIPIF-- 6<?php 7if(!extension_loaded('enchant')) die('skip, enchant not loader'); 8if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");} 9?> 10--FILE-- 11<?php 12$broker = enchant_broker_init(); 13if (is_object($broker)) { 14 echo "OK\n"; 15 enchant_broker_free($broker); 16 17} else { 18 exit("init failed\n"); 19} 20echo "OK\n"; 21?> 22--EXPECTF-- 23OK 24 25Deprecated: Function enchant_broker_free() is deprecated in %s 26OK 27