Searched refs:is_resource (Results 1 – 25 of 52) sorted by relevance
123
/PHP-5.5/ext/standard/tests/general_functions/ |
H A D | is_resource_error.phpt | 2 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 D | is_resource_basic.phpt | 2 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 D | is_resource.phpt | 2 Bug #27822 (is_resource() returns TRUE for closed resources) 7 var_dump(is_resource($f));
|
/PHP-5.5/ext/pgsql/ |
H A D | mysql_users.php | 21 assert(is_resource($db)); 40 assert(is_resource($db)); 63 assert(is_resource($db));
|
/PHP-5.5/ext/mysql/tests/ |
H A D | mysql_connect.phpt | 42 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 D | mysql_pconnect.phpt | 43 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 D | broker_request_dict.phpt | 10 if (!is_resource($broker)) { 18 if (is_resource($dict)) {
|
H A D | broker_init.phpt | 11 echo is_resource($broker) ? "OK" : "Failure";
|
H A D | broker_free.phpt | 11 if (is_resource($broker)) {
|
/PHP-5.5/ext/zip/tests/ |
H A D | zip_open.phpt | 12 echo is_resource($zip) ? "OK" : "Failure";
|
H A D | zip_close.phpt | 11 if (!is_resource($zip)) die("Failure");
|
H A D | zip_entry_compressedsize.phpt | 11 if (!is_resource($zip)) die("Failure");
|
H A D | zip_entry_filesize.phpt | 11 if (!is_resource($zip)) die("Failure");
|
H A D | zip_read.phpt | 11 if (!is_resource($zip)) die("Failure");
|
H A D | zip_entry_compressionmethod.phpt | 11 if (!is_resource($zip)) die("Failure");
|
H A D | zip_entry_name.phpt | 11 if (!is_resource($zip)) die("Failure");
|
H A D | bug7214.phpt | 11 if (!is_resource($zip)) die("Failure");
|
H A D | zip_open_error.phpt | 20 echo is_resource($zip) ? "OK" : "Failure";
|
/PHP-5.5/ext/standard/ |
H A D | php_type.h | 31 PHP_FUNCTION(is_resource);
|
/PHP-5.5/ext/gd/tests/ |
H A D | imagepalettetotruecolor_basic.phpt | 12 var_dump(is_resource($im));
|
/PHP-5.5/pear/ |
H A D | fetch.php | 67 if (is_resource($fp) && file_put_contents($argv[2], $fp)) {
|
/PHP-5.5/ext/standard/tests/streams/ |
H A D | bug64770.phpt | 17 if (is_resource($p)) {
|
/PHP-5.5/ext/standard/tests/dir/ |
H A D | opendir_variation5.phpt | 67 if (is_resource($dir_handle1)) { 70 if (is_resource($dir_handle2)) {
|
/PHP-5.5/ext/pgsql/tests/ |
H A D | skipif.inc | 16 if (!is_resource($conn)) {
|
/PHP-5.5/sapi/fpm/tests/ |
H A D | 003.phpt | 25 if (is_resource($fpm)) {
|
Completed in 38 milliseconds
123