Home
last modified time | relevance | path

Searched refs:resource (Results 26 – 50 of 1311) sorted by relevance

12345678910>>...53

/PHP-7.4/ext/standard/tests/file/
H A Dstream_supports_lock.phpt34 resource(%d) of type (stream)
36 resource(%d) of type (stream)
38 resource(%d) of type (stream)
40 resource(%d) of type (stream)
42 resource(%d) of type (stream-context)
44 Warning: stream_supports_lock(): supplied resource is not a valid stream resource in %s on line %d
H A Dbug30362.phpt6 $resource = fopen(__DIR__.'/bug30362.txt', 'rb');
8 for ($i = 0; ($i < 10) && !feof($resource); ++$i ) {
10 $line = stream_get_line($resource, 50, $a);
13 fclose($resource);
H A D007_error.phpt8 Prototype: resource fopen(string $filename, string $mode
9 [, bool $use_include_path [, resource $context]] );
12 Prototype: bool fclose ( resource $handle );
15 Prototype: bool feof ( resource $handle )
79 Warning: fclose(): supplied resource is not a valid stream resource in %s on line %d
88 Warning: feof(): supplied resource is not a valid stream resource in %s on line %d
91 Warning: feof() expects parameter 1 to be resource, string given in %s on line %d
121 Warning: fclose() expects parameter 1 to be resource, int given in %s on line %d
124 Warning: feof() expects parameter 1 to be resource, int given in %s on line %d
144 Warning: feof() expects parameter 1 to be resource, bool given in %s on line %d
[all …]
H A Dfseek_ftell_rewind_error2.phpt6 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] );
9 Prototype: bool rewind ( resource $handle );
12 Prototype: int ftell ( resource $handle );
67 Warning: ftell() expects parameter 1 to be resource, string given in %s on line %d
71 Warning: ftell() expects parameter 1 to be resource, int given in %s on line %d
75 Warning: ftell() expects parameter 1 to be resource, float given in %s on line %d
79 Warning: ftell() expects parameter 1 to be resource, bool given in %s on line %d
83 Warning: ftell() expects parameter 1 to be resource, array given in %s on line %d
87 Warning: ftell() expects parameter 1 to be resource, object given in %s on line %d
90 Warning: ftell(): supplied resource is not a valid stream resource in %s on line %d
[all …]
/PHP-7.4/ext/gd/tests/
H A Dimageistruecolor_error1.phpt13 $resource = tmpfile();
16 imageistruecolor($resource);
20 Warning: imageistruecolor() expects parameter 1 to be resource, string given in %s on line %d
22 Warning: imageistruecolor(): supplied resource is not a valid Image resource in %s on line %d
24 Warning: imageistruecolor() expects parameter 1 to be resource, array given in %s on line %d
H A Dimagecolordeallocate_error1.phpt2 Testing imagecolordeallocate() of GD library with invalid resource type
16 $resource = tmpfile();
18 $result = imagecolordeallocate($resource, $white);
22 Warning: imagecolordeallocate(): supplied resource is not a valid Image resource in %s on line %d
H A Dimagelayereffect_error3.phpt2 Testing imagelayereffect() with invalid resource of GD library
13 $resource = tmpfile();
14 $layer = imagelayereffect($resource, IMG_EFFECT_REPLACE);
17 Warning: imagelayereffect(): supplied resource is not a valid Image resource in %s on line %d
/PHP-7.4/ext/oci8/tests/
H A Dpersistent.phpt20 resource(%d) of type (oci8 persistent connection)
21 resource(%d) of type (oci8 persistent connection)
22 resource(%d) of type (oci8 persistent connection)
23 resource(%d) of type (oci8 connection)
24 resource(%d) of type (oci8 connection)
25 resource(%d) of type (oci8 connection)
/PHP-7.4/ext/json/tests/
H A Dunsupported_type_error.phpt8 $resource = fopen(__FILE__, "r");
10 var_dump($resource);
12 var_dump(json_encode($resource));
15 var_dump(json_encode($resource, JSON_PARTIAL_OUTPUT_ON_ERROR));
20 resource(%d) of type (stream)
/PHP-7.4/ext/imap/tests/
H A Dimap_fetch_overview_variation4.phpt9 /* Prototype : array imap_fetch_overview(resource $stream_id, int $msg_no [, int $options])
16 * Pass different resource types to imap_fetch_overview() to test behaviour
36 resource(%d) of type (stream)
38 Warning: imap_fetch_overview(): supplied resource is not a valid imap resource in %s on line %d
42 resource(%d) of type (stream)
44 Warning: imap_fetch_overview(): supplied resource is not a valid imap resource in %s on line %d
H A Dimap_fetchheader_variation4.phpt2 Test imap_fetchheader() function : usage variations - diff resource types as $stream_id
9 /* Prototype : string imap_fetchheader(resource $stream_id, int $msg_no [, int $options])
35 resource(%d) of type (stream)
37 Warning: imap_fetchheader(): supplied resource is not a valid imap resource in %s on line %d
41 resource(%d) of type (stream)
43 Warning: imap_fetchheader(): supplied resource is not a valid imap resource in %s on line %d
/PHP-7.4/ext/standard/tests/general_functions/
H A Dproc_open_pipes3.phpt35 resource(%d) of type (Unknown)
37 resource(%d) of type (Unknown)
39 resource(%d) of type (Unknown)
41 resource(%d) of type (Unknown)
47 resource(%d) of type (Unknown)
49 resource(%d) of type (Unknown)
51 resource(%d) of type (Unknown)
53 resource(%d) of type (Unknown)
H A Dtype.phpt38 "resource",
70 string(17) "resource (closed)"
71 string(8) "resource"
163 string(42) "settype(): Cannot convert to resource type"
173 string(42) "settype(): Cannot convert to resource type"
203 resource(%d) of type (Unknown)
206 resource(%d) of type (stream)
260 resource(%d) of type (Unknown)
265 resource(%d) of type (stream)
319 resource(%d) of type (Unknown)
[all …]
/PHP-7.4/ext/xml/tests/
H A Dbug35447.phpt13 <!ELEMENT bundle (resource)+>
14 <!ELEMENT resource (#PCDATA)>
15 <!ATTLIST resource
20 <resource key="rSeeYou">A bient&amp;244;t</resource>
34 string(8) "resource"
/PHP-7.4/ext/dba/tests/
H A Ddba015.phpt31 echo "Test 3 - fetch both rows from second resource\n";
37 echo "Test 4 - fetch both rows from first resource\n";
41 echo "Test 5 - close 2nd resource\n";
46 echo "Test 6 - query after closing 2nd resource\n";
62 Test 3 - fetch both rows from second resource
65 Test 4 - fetch both rows from first resource
68 Test 5 - close 2nd resource
69 resource(%d) of type (dba persistent)
70 resource(%d) of type (Unknown)
71 Test 6 - query after closing 2nd resource
H A Ddba_db4_018.phpt31 echo "Test 3 - fetch both rows from second resource\n";
37 echo "Test 4 - fetch both rows from first resource\n";
41 echo "Test 5 - close 2nd resource\n";
46 echo "Test 6 - query after closing 2nd resource\n";
64 Test 3 - fetch both rows from second resource
67 Test 4 - fetch both rows from first resource
70 Test 5 - close 2nd resource
71 resource(%d) of type (dba persistent)
72 resource(%d) of type (Unknown)
73 Test 6 - query after closing 2nd resource
/PHP-7.4/ext/standard/
H A Durl.c339 php_url *resource; in PHP_FUNCTION() local
351 if (resource == NULL) { in PHP_FUNCTION()
359 if (resource->scheme != NULL) RETVAL_STR_COPY(resource->scheme); in PHP_FUNCTION()
362 if (resource->host != NULL) RETVAL_STR_COPY(resource->host); in PHP_FUNCTION()
368 if (resource->user != NULL) RETVAL_STR_COPY(resource->user); in PHP_FUNCTION()
371 if (resource->pass != NULL) RETVAL_STR_COPY(resource->pass); in PHP_FUNCTION()
374 if (resource->path != NULL) RETVAL_STR_COPY(resource->path); in PHP_FUNCTION()
377 if (resource->query != NULL) RETVAL_STR_COPY(resource->query); in PHP_FUNCTION()
380 if (resource->fragment != NULL) RETVAL_STR_COPY(resource->fragment); in PHP_FUNCTION()
397 if (resource->host != NULL) { in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/fileinfo/tests/
H A Dfinfo_close_error.phpt7 /* Prototype : resource finfo_close(resource finfo)
8 * Description: Close fileinfo resource.
25 echo "\n-- Testing finfo_close() function with wrong resource type --\n";
43 -- Testing finfo_close() function with wrong resource type --
45 Warning: finfo_close(): supplied resource is not a valid file_info resource in %s on line %d
/PHP-7.4/ext/curl/tests/
H A Dcurl_share_close_basic001.phpt9 //Show that there's a curl_share resource
13 //Show that resource is no longer a curl_share, and is therefore unusable and "closed"
18 resource(%d) of type (curl_share)
19 resource(%d) of type (Unknown)
/PHP-7.4/ext/standard/tests/streams/
H A Dbug53427.phpt18 resource(%d) of type (stream)
20 resource(%d) of type (stream)
24 resource(%d) of type (stream)
26 resource(%d) of type (stream)
H A Dstream_get_meta_data_file_error.phpt5 /* Prototype : proto array stream_get_meta_data(resource fp)
24 echo "\n-- Testing stream_get_meta_data() function with invalid stream resource --\n";
28 echo "\n-- Testing stream_get_meta_data() function with closed stream resource --\n";
48 -- Testing stream_get_meta_data() function with invalid stream resource --
50 Warning: stream_get_meta_data() expects parameter 1 to be resource, null given in %s on line %d
53 -- Testing stream_get_meta_data() function with closed stream resource --
55 Warning: stream_get_meta_data(): supplied resource is not a valid stream resource in %s on line %d
/PHP-7.4/ext/standard/tests/array/
H A Darray_intersect_assoc_variation7.phpt23 // get a resource variable
59 // array with object, unset variable and resource variable
88 // close the file resource used
181 ["resource"]=>
182 resource(%d) of type (stream)
188 ["resource"]=>
189 resource(%d) of type (stream)
195 ["resource"]=>
196 resource(%d) of type (stream)
205 ["resource"]=>
[all …]
H A Darray_intersect_assoc_variation8.phpt23 // get a resource variable
59 // array with object, unset variable and resource variable
88 // close the file resource used
181 ["resource"]=>
182 resource(%d) of type (stream)
188 ["resource"]=>
189 resource(%d) of type (stream)
195 ["resource"]=>
196 resource(%d) of type (stream)
205 ["resource"]=>
[all …]
/PHP-7.4/ext/standard/tests/dir/
H A Dopendir_variation3.phpt5 /* Prototype : mixed opendir(string $path[, resource $context])
26 echo "\nNew resource created\n";
28 echo "\nNo new resource created\n";
44 resource(%d) of type (stream)
47 resource(%d) of type (stream)
49 New resource created
/PHP-7.4/ext/enchant/tests/
H A Dbug13181.phpt55 resource(%d) of type (enchant_dict)
56 resource(%d) of type (enchant_dict)
57 resource(%d) of type (enchant_broker)
58 resource(%d) of type (enchant_broker)
59 resource(%d) of type (enchant_dict)
60 resource(%d) of type (enchant_dict)

Completed in 28 milliseconds

12345678910>>...53