Home
last modified time | relevance | path

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

123

/PHP-5.5/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-5.5/ext/pgsql/
H A Dmysql_users.php21 assert(is_resource($db));
40 assert(is_resource($db));
63 assert(is_resource($db));
/PHP-5.5/ext/mysql/tests/
H A Dmysql_connect.phpt42 if (!is_resource($link = mysql_connect($host, $user, $passwd, true))) {
53 if (!is_resource($link = mysql_connect($host, $user, $passwd, true))) {
61 if (!is_resource($link = mysql_connect($myhost, $user))) {
67 if (!is_resource($link = mysql_connect($myhost))) {
74 if (!is_resource($link = mysql_connect())) {
80 if (!is_resource($link = mysql_connect()) || !is_resource($link2 = mysql_connect())) {
90 if (!is_resource($link = mysql_connect())) {
96 if (!is_resource($link = mysql_connect())) {
H A Dmysql_pconnect.phpt43 if (!is_resource($link = mysql_pconnect($host, $user, $passwd, true))) {
53 if (!is_resource($link = mysql_pconnect($host, $user, $passwd, true))) {
60 if (!is_resource($link = mysql_pconnect($myhost, $user))) {
67 if (!is_resource($link = mysql_pconnect($myhost))) {
74 if (!is_resource($link = mysql_pconnect())) {
/PHP-5.5/ext/enchant/tests/
H A Dbroker_request_dict.phpt10 if (!is_resource($broker)) {
18 if (is_resource($dict)) {
H A Dbroker_init.phpt11 echo is_resource($broker) ? "OK" : "Failure";
H A Dbroker_free.phpt11 if (is_resource($broker)) {
/PHP-5.5/ext/zip/tests/
H A Dzip_open.phpt12 echo is_resource($zip) ? "OK" : "Failure";
H A Dzip_close.phpt11 if (!is_resource($zip)) die("Failure");
H A Dzip_entry_compressedsize.phpt11 if (!is_resource($zip)) die("Failure");
H A Dzip_entry_filesize.phpt11 if (!is_resource($zip)) die("Failure");
H A Dzip_read.phpt11 if (!is_resource($zip)) die("Failure");
H A Dzip_entry_compressionmethod.phpt11 if (!is_resource($zip)) die("Failure");
H A Dzip_entry_name.phpt11 if (!is_resource($zip)) die("Failure");
H A Dbug7214.phpt11 if (!is_resource($zip)) die("Failure");
H A Dzip_open_error.phpt20 echo is_resource($zip) ? "OK" : "Failure";
/PHP-5.5/ext/standard/
H A Dphp_type.h31 PHP_FUNCTION(is_resource);
/PHP-5.5/ext/gd/tests/
H A Dimagepalettetotruecolor_basic.phpt12 var_dump(is_resource($im));
/PHP-5.5/pear/
H A Dfetch.php67 if (is_resource($fp) && file_put_contents($argv[2], $fp)) {
/PHP-5.5/ext/standard/tests/streams/
H A Dbug64770.phpt17 if (is_resource($p)) {
/PHP-5.5/ext/standard/tests/dir/
H A Dopendir_variation5.phpt67 if (is_resource($dir_handle1)) {
70 if (is_resource($dir_handle2)) {
/PHP-5.5/ext/pgsql/tests/
H A Dskipif.inc16 if (!is_resource($conn)) {
/PHP-5.5/sapi/fpm/tests/
H A D003.phpt25 if (is_resource($fpm)) {

Completed in 67 milliseconds

123