xref: /PHP-8.1/ext/enchant/tests/broker_init.phpt (revision 74859783)
1--TEST--
2enchant_broker_init() function
3--CREDITS--
4marcosptf - <marcosptf@yahoo.com.br>
5--EXTENSIONS--
6enchant
7--SKIPIF--
8<?php
9if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
10 ?>
11--FILE--
12<?php
13$broker = enchant_broker_init();
14if (is_object($broker)) {
15    echo("OK\n");
16} else {
17    echo("failure, its not a resource\n");
18}
19?>
20--EXPECT--
21OK
22