Home
last modified time | relevance | path

Searched refs:resource (Results 76 – 100 of 1805) sorted by relevance

12345678910>>...73

/PHP-7.2/ext/gd/tests/
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.2/ext/enchant/tests/
H A Dbug13181.phpt38 resource(%d) of type (enchant_dict)
39 resource(%d) of type (enchant_dict)
40 resource(%d) of type (enchant_broker)
41 resource(%d) of type (enchant_broker)
42 resource(%d) of type (enchant_dict)
43 resource(%d) of type (enchant_dict)
/PHP-7.2/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.2/ext/standard/tests/file/
H A Dbug30362.phpt6 $resource = fopen(dirname(__FILE__).'/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 Dfgetcsv_error.phpt56 Warning: fgetcsv() expects parameter 1 to be resource, string given in %s on line %d
59 Warning: fgetcsv() expects parameter 1 to be resource, string given in %s on line %d
63 Warning: fgetcsv() expects parameter 1 to be resource, integer given in %s on line %d
66 Warning: fgetcsv() expects parameter 1 to be resource, integer given in %s on line %d
70 Warning: fgetcsv() expects parameter 1 to be resource, float given in %s on line %d
73 Warning: fgetcsv() expects parameter 1 to be resource, float given in %s on line %d
77 Warning: fgetcsv() expects parameter 1 to be resource, boolean given in %s on line %d
84 Warning: fgetcsv() expects parameter 1 to be resource, array given in %s on line %d
87 Warning: fgetcsv() expects parameter 1 to be resource, array given in %s on line %d
91 Warning: fgetcsv() expects parameter 1 to be resource, object 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, integer 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, boolean 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 …]
H A Dfseek_ftell_rewind_error3.phpt6 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] );
9 Prototype: bool rewind ( resource $handle );
12 Prototype: int ftell ( resource $handle );
67 Warning: rewind() expects parameter 1 to be resource, string given in %s on line %d
71 Warning: rewind() expects parameter 1 to be resource, integer given in %s on line %d
75 Warning: rewind() expects parameter 1 to be resource, float given in %s on line %d
79 Warning: rewind() expects parameter 1 to be resource, boolean given in %s on line %d
83 Warning: rewind() expects parameter 1 to be resource, array given in %s on line %d
87 Warning: rewind() expects parameter 1 to be resource, object given in %s on line %d
90 Warning: rewind(): supplied resource is not a valid stream resource in %s on line %d
[all …]
/PHP-7.2/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
/PHP-7.2/ext/standard/tests/general_functions/
H A Dproc_open_pipes3.phpt44 resource(%d) of type (Unknown)
46 resource(%d) of type (Unknown)
48 resource(%d) of type (Unknown)
50 resource(%d) of type (Unknown)
56 resource(%d) of type (Unknown)
58 resource(%d) of type (Unknown)
60 resource(%d) of type (Unknown)
62 resource(%d) of type (Unknown)
H A Dtype.phpt38 "resource",
66 string(17) "resource (closed)"
67 string(8) "resource"
159 string(42) "settype(): Cannot convert to resource type"
169 string(42) "settype(): Cannot convert to resource type"
199 resource(%d) of type (Unknown)
202 resource(%d) of type (stream)
256 resource(%d) of type (Unknown)
261 resource(%d) of type (stream)
315 resource(%d) of type (Unknown)
[all …]
/PHP-7.2/ext/zlib/tests/
H A Dgzopen_variation3.phpt54 // get a resource variable
107 // resource variable
108 'resource' => $fp
130 resource(%d) of type (stream)
133 resource(%d) of type (stream)
136 resource(%d) of type (stream)
139 resource(%d) of type (stream)
142 resource(%d) of type (stream)
161 resource(%d) of type (stream)
164 resource(%d) of type (stream)
[all …]
/PHP-7.2/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.2/ext/standard/
H A Durl.c362 php_url *resource; in PHP_FUNCTION() local
373 if (resource == NULL) { in PHP_FUNCTION()
381 if (resource->scheme != NULL) RETVAL_STRING(resource->scheme); in PHP_FUNCTION()
384 if (resource->host != NULL) RETVAL_STRING(resource->host); in PHP_FUNCTION()
387 if (resource->port != 0) RETVAL_LONG(resource->port); in PHP_FUNCTION()
390 if (resource->user != NULL) RETVAL_STRING(resource->user); in PHP_FUNCTION()
393 if (resource->pass != NULL) RETVAL_STRING(resource->pass); in PHP_FUNCTION()
396 if (resource->path != NULL) RETVAL_STRING(resource->path); in PHP_FUNCTION()
399 if (resource->query != NULL) RETVAL_STRING(resource->query); in PHP_FUNCTION()
402 if (resource->fragment != NULL) RETVAL_STRING(resource->fragment); in PHP_FUNCTION()
[all …]
/PHP-7.2/win32/
H A Dphp7dllts.rc1 //Microsoft Developer Studio generated resource script.
5 #include "resource.h"
15 // Generated from the TEXTINCLUDE 2 resource.
63 "resource.h\0"
113 // Generated from the TEXTINCLUDE 3 resource.
H A Dphp7ts.rc1 //Microsoft Developer Studio generated resource script.
5 #include "resource.h"
15 // Generated from the TEXTINCLUDE 2 resource.
63 "resource.h\0"
113 // Generated from the TEXTINCLUDE 3 resource.
H A Dphp7ts_cli.rc1 //Microsoft Developer Studio generated resource script.
5 #include "resource.h"
15 // Generated from the TEXTINCLUDE 2 resource.
63 "resource.h\0"
113 // Generated from the TEXTINCLUDE 3 resource.
/PHP-7.2/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.2/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.2/ext/standard/tests/streams/
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 %i
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 %i
/PHP-7.2/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.2/ext/odbc/tests/
H A Dodbc_free_result_001.phpt40 Warning: odbc_free_result(): supplied resource is not a valid ODBC result resource in %s on line %d
43 Warning: odbc_free_result() expects parameter 1 to be resource, null given in %s on line %d
46 Warning: odbc_fetch_row(): supplied resource is not a valid ODBC result resource in %s on line %d
49 Warning: odbc_result(): supplied resource is not a valid ODBC result resource in %s on line %d
/PHP-7.2/ext/sockets/tests/
H A Dsocket_import_stream-2.phpt31 Warning: socket_import_stream() expects parameter 1 to be resource, integer given in %s on line %d
34 Warning: socket_import_stream() expects parameter 1 to be resource, object given in %s on line %d
40 Warning: socket_import_stream(): supplied resource is not a valid stream resource in %s on line %d
42 resource(%d) of type (stream)
45 Warning: socket_import_stream(): supplied resource is not a valid stream resource in %s on line %d

Completed in 129 milliseconds

12345678910>>...73