Home
last modified time | relevance | path

Searched refs:resource (Results 51 – 75 of 1797) sorted by relevance

12345678910>>...72

/PHP-7.1/ext/imap/tests/
H A Dimap_fetchbody_variation1.phpt9 /* Prototype : string imap_fetchbody(resource $stream_id, int $msg_no, string $section
102 Warning: imap_fetchbody() expects parameter 1 to be resource, integer given in %s on line 85
122 Warning: imap_fetchbody() expects parameter 1 to be resource, float given in %s on line 85
127 Warning: imap_fetchbody() expects parameter 1 to be resource, float given in %s on line 85
132 Warning: imap_fetchbody() expects parameter 1 to be resource, float given in %s on line 85
137 Warning: imap_fetchbody() expects parameter 1 to be resource, float given in %s on line 85
142 Warning: imap_fetchbody() expects parameter 1 to be resource, float given in %s on line 85
147 Warning: imap_fetchbody() expects parameter 1 to be resource, null given in %s on line 85
152 Warning: imap_fetchbody() expects parameter 1 to be resource, null given in %s on line 85
212 Warning: imap_fetchbody() expects parameter 1 to be resource, null given in %s on line 85
[all …]
H A Dimap_close_variation3.phpt9 /* Prototype : bool imap_close(resource $stream_id [, int $options])
35 resource(%d) of type (stream)
37 Warning: imap_close(): supplied resource is not a valid imap resource in %s on line %d
39 resource(%d) of type (stream)
42 resource(%d) of type (stream)
44 Warning: imap_close(): supplied resource is not a valid imap resource in %s on line %d
46 resource(%d) of type (stream)
H A Dimap_fetch_overview_variation1.phpt9 /* Prototype : array imap_fetch_overview(resource $stream_id, int $msg_no [, int $options])
102 Warning: imap_fetch_overview() expects parameter 1 to be resource, integer given in %s on line %d
122 Warning: imap_fetch_overview() expects parameter 1 to be resource, float given in %s on line %d
127 Warning: imap_fetch_overview() expects parameter 1 to be resource, float given in %s on line %d
132 Warning: imap_fetch_overview() expects parameter 1 to be resource, float given in %s on line %d
137 Warning: imap_fetch_overview() expects parameter 1 to be resource, float given in %s on line %d
142 Warning: imap_fetch_overview() expects parameter 1 to be resource, float given in %s on line %d
147 Warning: imap_fetch_overview() expects parameter 1 to be resource, null given in %s on line %d
152 Warning: imap_fetch_overview() expects parameter 1 to be resource, null given in %s on line %d
214 Warning: imap_fetch_overview() expects parameter 1 to be resource, null given in %s on line %d
[all …]
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.1/ext/interbase/tests/
H A Dbug46543.phpt22 Warning: ibase_trans(): supplied resource is not a valid Firebird/InterBase link resource in %sbug4…
24 Warning: ibase_trans(): supplied resource is not a valid Firebird/InterBase link resource in %sbug4…
26 Warning: ibase_trans(): supplied resource is not a valid Firebird/InterBase link resource in %sbug4…
28 Warning: ibase_trans(): supplied resource is not a valid Firebird/InterBase link resource in %sbug4…
/PHP-7.1/ext/standard/tests/dir/
H A Ddir_variation2-win32-mb.phpt12 * Prototype : object dir(string $directory[, resource $context])
18 * Passing non resource values to 'context' argument of dir() and see
135 Warning: dir() expects parameter 2 to be resource, float given in %s on line %d
139 Warning: dir() expects parameter 2 to be resource, float given in %s on line %d
143 Warning: dir() expects parameter 2 to be resource, float given in %s on line %d
147 Warning: dir() expects parameter 2 to be resource, float given in %s on line %d
151 Warning: dir() expects parameter 2 to be resource, float given in %s on line %d
155 Warning: dir() expects parameter 2 to be resource, array given in %s on line %d
159 Warning: dir() expects parameter 2 to be resource, array given in %s on line %d
175 Warning: dir() expects parameter 2 to be resource, null given in %s on line %d
[all …]
H A Dreaddir_variation4-win32-mb.phpt94 resource(%d) of type (stream)
98 resource(%d) of type (stream)
102 resource(%d) of type (stream)
106 resource(%d) of type (stream)
110 resource(%d) of type (stream)
114 resource(%d) of type (stream)
118 resource(%d) of type (stream)
122 resource(%d) of type (stream)
126 resource(%d) of type (stream)
130 resource(%d) of type (stream)
[all …]
H A Dreaddir_variation4.phpt88 resource(%d) of type (stream)
92 resource(%d) of type (stream)
96 resource(%d) of type (stream)
100 resource(%d) of type (stream)
104 resource(%d) of type (stream)
108 resource(%d) of type (stream)
112 resource(%d) of type (stream)
116 resource(%d) of type (stream)
120 resource(%d) of type (stream)
124 resource(%d) of type (stream)
[all …]
/PHP-7.1/ext/standard/tests/file/
H A Dpclose_variation1.phpt7 /* Prototype : int pclose(resource fp)
133 Error: 2 - pclose() expects parameter 1 to be resource, float given, %s(%d)
137 Error: 2 - pclose() expects parameter 1 to be resource, float given, %s(%d)
141 Error: 2 - pclose() expects parameter 1 to be resource, float given, %s(%d)
145 Error: 2 - pclose() expects parameter 1 to be resource, float given, %s(%d)
149 Error: 2 - pclose() expects parameter 1 to be resource, float given, %s(%d)
153 Error: 2 - pclose() expects parameter 1 to be resource, array given, %s(%d)
157 Error: 2 - pclose() expects parameter 1 to be resource, array given, %s(%d)
169 Error: 2 - pclose() expects parameter 1 to be resource, null given, %s(%d)
173 Error: 2 - pclose() expects parameter 1 to be resource, null given, %s(%d)
[all …]
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 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
114 Warning: feof() expects parameter 1 to be resource, string given in %s on line %d
134 Warning: feof() expects parameter 1 to be resource, float given in %s on line %d
154 Warning: feof() expects parameter 1 to be resource, array given in %s on line %d
[all …]
/PHP-7.1/ext/gd/tests/
H A Dimagecolorallocatealpha_error1.phpt11 $resource = tmpfile();
13 imagecolorallocatealpha($resource, 255, 255, 255, 50);
19 Warning: imagecolorallocatealpha(): supplied resource is not a valid Image resource in %s on line %d
21 Warning: imagecolorallocatealpha() expects parameter 1 to be resource, %s given in %s on line %d
23 Warning: imagecolorallocatealpha() expects parameter 1 to be resource, array given in %s on line %d
25 Warning: imagecolorallocatealpha() expects parameter 1 to be resource, null given in %s on line %d
H A Dimagetruecolortopalette_error1.phpt12 $resource = tmpfile();
14 imagetruecolortopalette($resource, true, 2);
20 Warning: imagetruecolortopalette(): supplied resource is not a valid Image resource in %s on line %d
22 Warning: imagetruecolortopalette() expects parameter 1 to be resource, %s given in %s on line %d
24 Warning: imagetruecolortopalette() expects parameter 1 to be resource, array given in %s on line %d
26 Warning: imagetruecolortopalette() expects parameter 1 to be resource, null given in %s on line %d
H A Dimagesetthickness_error1.phpt11 $resource = tmpfile();
15 imagesetthickness($resource, 5);
18 Warning: imagesetthickness() expects parameter 1 to be resource, %s given in %s on line %d
20 Warning: imagesetthickness() expects parameter 1 to be resource, array given in %s on line %d
22 Warning: imagesetthickness(): supplied resource is not a valid Image resource in %s on line %d
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
/PHP-7.1/ext/phar/
H A Dstream.c62 php_url *resource; in phar_parse_url() local
88 resource->host = arch; in phar_parse_url()
90 resource->path = entry; in phar_parse_url()
92 if (resource) { in phar_parse_url()
152 return resource; in phar_parse_url()
176 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_open_url()
177 php_url_free(resource); in phar_wrapper_open_url()
300 php_url_free(resource); in phar_wrapper_open_url()
585 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_stat()
681 php_url *resource; in phar_wrapper_unlink() local
[all …]
/PHP-7.1/ext/fileinfo/tests/
H A Dfinfo_open_basic.phpt7 /* Prototype : resource finfo_open([int options [, string arg]])
8 * Description: Create a new fileinfo resource.
35 resource(%d) of type (file_info)
36 resource(%d) of type (file_info)
37 resource(%d) of type (file_info)
38 resource(%d) of type (file_info)
39 resource(%d) of type (file_info)
40 resource(%d) of type (file_info)
41 resource(%d) of type (file_info)
/PHP-7.1/ext/standard/
H A Dhttp_fopen_wrapper.c155 if (resource == NULL) { in php_stream_url_wrap_http_ex()
183 use_ssl = resource->scheme && (strlen(resource->scheme) > 4) && resource->scheme[4] == 's'; in php_stream_url_wrap_http_ex()
188 resource->port = 80; in php_stream_url_wrap_http_ex()
395 if (resource->path && *resource->path) { in php_stream_url_wrap_http_ex()
538 php_url_decode(resource->user, strlen(resource->user)); in php_stream_url_wrap_http_ex()
545 php_url_decode(resource->pass, strlen(resource->pass)); in php_stream_url_wrap_http_ex()
572 if ((use_ssl && resource->port != 443 && resource->port != 0) || in php_stream_url_wrap_http_ex()
573 (!use_ssl && resource->port != 80 && resource->port != 0)) { in php_stream_url_wrap_http_ex()
891 if (resource->path && *(resource->path) == '/' && *(resource->path + 1) == '\0') { in php_stream_url_wrap_http_ex()
903 …printf(new_path, sizeof(new_path) - 1, "%s://%s:%d%s", resource->scheme, resource->host, resource-… in php_stream_url_wrap_http_ex()
[all …]
/PHP-7.1/ext/zlib/tests/
H A Ddeflate_init_reuse.phpt11 $resource = deflate_init(ZLIB_ENCODING_DEFLATE);
13 deflate_add($resource, $char);
15 deflate_add($resource, "", ZLIB_FINISH);
17 // Now reuse the existing resource after finishing the previous operations ...
21 $compressed .= deflate_add($resource, $char, ZLIB_NO_FLUSH);
23 $compressed .= deflate_add($resource, "", ZLIB_FINISH);
H A Dinflate_init_reuse.phpt11 $resource = inflate_init(ZLIB_ENCODING_GZIP);
17 $inflated .= inflate_add($resource, $compressed[$i]);
19 $inflated .= inflate_add($resource, "", ZLIB_FINISH);
22 // Now reuse the existing resource after finishing the previous operations ...
25 $inflated .= inflate_add($resource, $compressed[$i]);
27 $inflated .= inflate_add($resource, "", ZLIB_FINISH);
/PHP-7.1/ext/sockets/tests/
H A Dsocket_export_stream-2.phpt31 Warning: socket_export_stream() expects parameter 1 to be resource, integer given in %s on line %d
34 Warning: socket_export_stream() expects parameter 1 to be resource, object given in %s on line %d
37 Warning: socket_export_stream(): supplied resource is not a valid Socket resource in %s on line %d
40 Warning: socket_export_stream(): supplied resource is not a valid Socket resource in %s on line %d
42 resource(%d) of type (Socket)
44 Warning: socket_export_stream(): supplied resource is not a valid Socket resource in %s on line %d
/PHP-7.1/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.1/ext/standard/tests/general_functions/
H A Dget_resource_type_variation1.phpt5 /* Prototype : string get_resource_type ( resource $handle )
6 * Description: Returns the resource type
42 Warning: get_resource_type() expects parameter 1 to be resource, boolean given in %s on line %d
47 Warning: get_resource_type() expects parameter 1 to be resource, integer given in %s on line %d
52 Warning: get_resource_type() expects parameter 1 to be resource, float given in %s on line %d
57 Warning: get_resource_type() expects parameter 1 to be resource, string given in %s on line %d
62 Warning: get_resource_type() expects parameter 1 to be resource, array given in %s on line %d
67 Warning: get_resource_type() expects parameter 1 to be resource, null given in %s on line %d
72 Warning: get_resource_type() expects parameter 1 to be resource, object given in %s on line %d
/PHP-7.1/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)

Completed in 53 milliseconds

12345678910>>...72