Searched refs:is_resource (Results 1 – 25 of 52) sorted by relevance
123
2 Test is_resource() function : basic functionality5 echo "*** Testing is_resource() : basic functionality ***\n";37 if (is_resource($vars[$i])) {47 echo "Resource type..after file open is_resource() returns";48 if (is_resource($res)) {57 echo "Resource type..after file close is_resource() returns";58 if (is_resource($res)) {67 *** Testing is_resource() : basic functionality ***81 Resource type..after file open is_resource() returns TRUE85 Resource type..after file close is_resource() returns FALSE
2 Bug #27822 (is_resource() returns TRUE for closed resources)7 var_dump(is_resource($f));
33 if (!is_resource($pipe) || feof($pipe)) {
9 echo is_resource($zip) ? "OK" : "Failure";
8 if (!is_resource($zip)) die("Failure");
19 echo is_resource($zip) ? "OK" : "Failure";
10 if (!is_resource($zip)) {
67 if (is_resource($fp) && file_put_contents($argv[2], $fp)) {
54 if (is_resource($dir_handle1)) {57 if (is_resource($dir_handle2)) {
23 if(is_resource($fp)) {
47 if (!is_resource($server = http_server_init($output))) {105 if (!is_resource($server = http_server_init($output))) {
17 if (is_resource($p)) {
18 var_dump(is_resource($proc));
40 if (!is_resource($process)) {
25 if (is_resource($proc)) {
31 return is_resource(current($this->a));
45 if (is_resource($fileOrStream)) {111 if (is_resource($fileOrStream)) {
32 if (is_resource($fileOrStream)) {
Completed in 18 milliseconds