mirror of
https://github.com/php/php-src.git
synced 2024-12-16 13:26:19 +08:00
Update broker_get_error.phpt
This commit is contained in:
parent
c9857071d4
commit
4191709915
@ -5,7 +5,7 @@ marcosptf - <marcosptf@yahoo.com.br>
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(!extension_loaded('enchant')) die('skip, enchant not loader');
|
||||
|
||||
if (!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
@ -13,6 +13,7 @@ $broker = enchant_broker_init();
|
||||
if (is_resource($broker)) {
|
||||
echo("OK\n");
|
||||
$enchantErr = enchant_broker_get_error($broker);
|
||||
|
||||
if ("" == $enchantErr) {
|
||||
echo("OK\n");
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user