Home
last modified time | relevance | path

Searched refs:is_resource (Results 1 – 25 of 83) sorted by relevance

1234

/PHP-7.3/ext/standard/tests/general_functions/
H A Dis_resource_error.phpt2 Test is_resource() function : error conditions
5 /* Prototype : bool is_resource ( mixed $var )
10 echo "*** Testing is_resource() : error conditions ***\n";
12 echo "\n-- Testing is_resource() function with Zero arguments --\n";
13 var_dump( is_resource() );
18 var_dump( is_resource($res, $extra_arg) );
23 *** Testing is_resource() : error conditions ***
25 -- Testing is_resource() function with Zero arguments --
27 Warning: is_resource() expects exactly 1 parameter, 0 given in %s on line %d
30 -- Testing is_resource() function with more than expected no. of arguments --
[all …]
H A Dis_resource_basic.phpt2 Test is_resource() function : basic functionality
5 /* Prototype : bool is_resource ( mixed $var )
10 echo "*** Testing is_resource() : basic functionality ***\n";
42 if (is_resource($vars[$i])) {
52 echo "Resource type..after file open is_resource() returns";
53 if (is_resource($res)) {
62 echo "Resource type..after file close is_resource() returns";
63 if (is_resource($res)) {
73 *** Testing is_resource() : basic functionality ***
87 Resource type..after file open is_resource() returns TRUE
[all …]
H A Dis_resource.phpt2 Bug #27822 (is_resource() returns TRUE for closed resources)
7 var_dump(is_resource($f));
/PHP-7.3/ext/pgsql/
H A Dmysql_users.php21 assert(is_resource($db));
40 assert(is_resource($db));
63 assert(is_resource($db));
/PHP-7.3/ext/enchant/tests/
H A Dbroker_request_pwl_dict.phpt8 if(!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
15 if (is_resource($broker)) {
19 if (is_resource($requestDict)) {
H A Dbroker_init.phpt8 if (!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
13 if (is_resource($broker)) {
H A Dbroker_free.phpt8 if (!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
13 if (is_resource($broker)) {
H A Dbroker_get_error.phpt8 if (!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
13 if (is_resource($broker)) {
H A Dbroker_free_01.phpt8 if (!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
13 if (is_resource($broker)) {
H A Dbroker_request_dict_01.phpt8 if (!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
18 if (is_resource($dict)) {
H A Dbroker_set_ordering.phpt8 if (!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
17 if (is_resource($broker)) {
H A Dbroker_request_dict.phpt8 if (!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
20 if (is_resource($dict)) {
H A Ddict_get_error.phpt8 if (!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
16 if (is_resource($broker)) {
H A Ddict_describe.phpt8 if (!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
16 if (is_resource($broker)) {
H A Ddict_quick_check_01.phpt8 if (!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
17 if (is_resource($broker)) {
H A Ddict_suggest.phpt8 if (!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
17 if (is_resource($broker)) {
H A Ddict_add_to_personal.phpt8 if (!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
17 if (is_resource($broker)) {
H A Ddict_add_to_session.phpt8 if (!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
17 if (is_resource($broker)) {
H A Ddict_check.phpt8 if (!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
17 if (is_resource($broker)) {
H A Ddict_is_in_session.phpt8 if (!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
17 if (is_resource($broker)) {
H A Ddict_store_replacement.phpt8 if (!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
18 if (is_resource($broker)) {
H A Dbroker_free_dict.phpt8 if(!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
16 if (is_resource($broker)) {
H A Denchant_broker_set_dict_path.phpt9 if (!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
20 if (is_resource($broker)) {
H A Dbroker_free_02.phpt8 if(!is_resource(enchant_broker_init())) {die("skip, resource dont load\n");}
17 if (is_resource($broker)) {
/PHP-7.3/ext/zip/tests/
H A Dzip_open.phpt11 echo is_resource($zip) ? "OK" : "Failure";

Completed in 18 milliseconds

1234