Home
last modified time | relevance | path

Searched refs:resource (Results 1 – 25 of 727) sorted by relevance

12345678910>>...30

/PHP-8.0/ext/standard/tests/file/
H A D007_basic.phpt105 ftell(): supplied resource is not a valid stream resource
106 feof(): supplied resource is not a valid stream resource
114 ftell(): supplied resource is not a valid stream resource
115 feof(): supplied resource is not a valid stream resource
123 ftell(): supplied resource is not a valid stream resource
124 feof(): supplied resource is not a valid stream resource
132 ftell(): supplied resource is not a valid stream resource
133 feof(): supplied resource is not a valid stream resource
142 feof(): supplied resource is not a valid stream resource
151 feof(): supplied resource is not a valid stream resource
[all …]
H A Dfgetc_basic.phpt68 resource(%d) of type (stream)
72 resource(%d) of type (stream)
76 resource(%d) of type (stream)
80 resource(%d) of type (stream)
84 resource(%d) of type (stream)
88 resource(%d) of type (stream)
94 resource(%d) of type (stream)
98 resource(%d) of type (stream)
102 resource(%d) of type (stream)
106 resource(%d) of type (stream)
[all …]
H A Dstream_supports_lock.phpt38 resource(%d) of type (stream)
40 resource(%d) of type (stream)
42 resource(%d) of type (stream)
44 resource(%d) of type (stream)
46 resource(%d) of type (stream-context)
47 stream_supports_lock(): supplied resource is not a valid stream resource
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);
/PHP-8.0/ext/standard/tests/general_functions/
H A Dproc_open_pipes1.phpt22 resource(%d) of type (Unknown)
24 resource(%d) of type (Unknown)
26 resource(%d) of type (Unknown)
28 resource(%d) of type (Unknown)
30 resource(%d) of type (Unknown)
32 resource(%d) of type (Unknown)
34 resource(%d) of type (Unknown)
36 resource(%d) of type (Unknown)
38 resource(%d) of type (Unknown)
40 resource(%d) of type (Unknown)
[all …]
H A Dgettype_settype_variation5.phpt12 settype() to resource type.
133 $type = "resource";
144 // convert it to resource
166 Cannot convert to resource type
171 Cannot convert to resource type
176 Cannot convert to resource type
181 Cannot convert to resource type
186 Cannot convert to resource type
191 Cannot convert to resource type
196 Cannot convert to resource type
[all …]
H A Dproc_open_pipes3.phpt38 resource(%d) of type (Unknown)
40 resource(%d) of type (Unknown)
42 resource(%d) of type (Unknown)
44 resource(%d) of type (Unknown)
50 resource(%d) of type (Unknown)
52 resource(%d) of type (Unknown)
54 resource(%d) of type (Unknown)
56 resource(%d) of type (Unknown)
H A Dtype.phpt38 "resource",
70 string(17) "resource (closed)"
71 string(8) "resource"
163 Error: Cannot convert to resource type
172 Error: Cannot convert to resource type
194 resource(%d) of type (Unknown)
196 resource(%d) of type (stream)
249 resource(%d) of type (Unknown)
254 resource(%d) of type (stream)
308 resource(%d) of type (Unknown)
[all …]
/PHP-8.0/ext/ftp/tests/
H A D007.phpt2 FTP with bogus resource
183 ftp_login(): supplied resource is not a valid FTP Buffer resource
184 ftp_pwd(): supplied resource is not a valid FTP Buffer resource
185 ftp_cdup(): supplied resource is not a valid FTP Buffer resource
187 ftp_exec(): supplied resource is not a valid FTP Buffer resource
188 ftp_raw(): supplied resource is not a valid FTP Buffer resource
195 ftp_mlsd(): supplied resource is not a valid FTP Buffer resource
197 ftp_fget(): supplied resource is not a valid FTP Buffer resource
199 ftp_pasv(): supplied resource is not a valid FTP Buffer resource
200 ftp_get(): supplied resource is not a valid FTP Buffer resource
[all …]
/PHP-8.0/ext/phar/
H A Ddirstream.c308 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_open_dir()
309 if (resource->host && !resource->path) { in phar_wrapper_open_dir()
314 php_url_free(resource); in phar_wrapper_open_dir()
320 php_url_free(resource); in phar_wrapper_open_dir()
336 php_url_free(resource); in phar_wrapper_open_dir()
348 php_url_free(resource); in phar_wrapper_open_dir()
353 php_url_free(resource); in phar_wrapper_open_dir()
391 php_url_free(resource); in phar_wrapper_open_dir()
431 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_mkdir()
499 php_url_free(resource); in phar_wrapper_mkdir()
[all …]
H A Dstream.c62 php_url *resource; in phar_parse_url() local
94 if (resource) { in phar_parse_url()
154 return resource; in phar_parse_url()
178 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_open_url()
179 php_url_free(resource); in phar_wrapper_open_url()
185 php_url_free(resource); in phar_wrapper_open_url()
211 php_url_free(resource); in phar_wrapper_open_url()
298 php_url_free(resource); in phar_wrapper_open_url()
565 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_stat()
661 php_url *resource; in phar_wrapper_unlink() local
[all …]
/PHP-8.0/Zend/tests/
H A Dsettype_resource.phpt44 Cannot convert to resource type
46 Cannot convert to resource type
48 Cannot convert to resource type
50 Cannot convert to resource type
52 Cannot convert to resource type
54 Cannot convert to resource type
56 Cannot convert to resource type
59 Cannot convert to resource type
68 Cannot convert to resource type
70 Cannot convert to resource type
[all …]
H A Doperator_unsupported_types.phpt139 Unsupported operand types: resource + resource
215 Unsupported operand types: resource - resource
291 Unsupported operand types: resource * resource
365 Unsupported operand types: resource / resource
441 Unsupported operand types: resource % resource
517 Unsupported operand types: resource ** resource
593 Unsupported operand types: resource << resource
669 Unsupported operand types: resource >> resource
745 Unsupported operand types: resource & resource
818 Unsupported operand types: resource | resource
[all …]
/PHP-8.0/ext/standard/
H A Dftp_fopen_wrapper.c137 if (resource == NULL || resource->path == NULL) { in php_ftp_fopen_connect()
144 …use_ssl = resource->scheme && (ZSTR_LEN(resource->scheme) > 3) && ZSTR_VAL(resource->scheme)[3] ==… in php_ftp_fopen_connect()
241 ZSTR_LEN(resource->user) = php_raw_url_decode(ZSTR_VAL(resource->user), ZSTR_LEN(resource->user)); in php_ftp_fopen_connect()
258 … ZSTR_LEN(resource->pass) = php_raw_url_decode(ZSTR_VAL(resource->pass), ZSTR_LEN(resource->pass)); in php_ftp_fopen_connect()
302 if (resource) { in php_ftp_fopen_connect()
588 if (resource) { in php_stream_url_wrap_ftp()
759 if (resource) { in php_stream_ftp_opendir()
885 if (resource) { in php_stream_ftp_url_stat()
934 if (resource) { in php_stream_ftp_unlink()
1104 if (resource) { in php_stream_ftp_mkdir()
[all …]
H A Dhttp_fopen_wrapper.c158 if (resource == NULL) { in php_stream_url_wrap_http_ex()
187 …use_ssl = resource->scheme && (ZSTR_LEN(resource->scheme) > 4) && ZSTR_VAL(resource->scheme)[4] ==… in php_stream_url_wrap_http_ex()
190 resource->port = 443; in php_stream_url_wrap_http_ex()
192 resource->port = 80; in php_stream_url_wrap_http_ex()
399 if (resource->path && ZSTR_LEN(resource->path)) { in php_stream_url_wrap_http_ex()
528 php_url_decode(ZSTR_VAL(resource->user), ZSTR_LEN(resource->user)); in php_stream_url_wrap_http_ex()
534 if (resource->pass) { in php_stream_url_wrap_http_ex()
535 php_url_decode(ZSTR_VAL(resource->pass), ZSTR_LEN(resource->pass)); in php_stream_url_wrap_http_ex()
562 if ((use_ssl && resource->port != 443 && resource->port != 0) || in php_stream_url_wrap_http_ex()
563 (!use_ssl && resource->port != 80 && resource->port != 0)) { in php_stream_url_wrap_http_ex()
[all …]
/PHP-8.0/ext/standard/tests/dir/
H A Dscandir_variation8.phpt72 resource(%d) of type (stream)
75 resource(%d) of type (stream)
78 resource(%d) of type (stream)
81 resource(%d) of type (stream)
84 resource(%d) of type (stream)
87 resource(%d) of type (stream)
90 resource(%d) of type (stream)
93 resource(%d) of type (stream)
96 resource(%d) of type (stream)
99 resource(%d) of type (stream)
[all …]
H A Dscandir_variation8-win32-mb.phpt78 resource(%d) of type (stream)
81 resource(%d) of type (stream)
84 resource(%d) of type (stream)
87 resource(%d) of type (stream)
90 resource(%d) of type (stream)
93 resource(%d) of type (stream)
96 resource(%d) of type (stream)
99 resource(%d) of type (stream)
102 resource(%d) of type (stream)
105 resource(%d) of type (stream)
[all …]
H A Dreaddir_variation4.phpt82 resource(%d) of type (stream)
86 resource(%d) of type (stream)
90 resource(%d) of type (stream)
94 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)
[all …]
H A Dreaddir_variation4-win32-mb.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-8.0/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-8.0/ext/standard/tests/streams/
H A Dstream_select_preserve_keys.phpt20 resource(%d) of type (stream)
22 resource(%d) of type (stream)
26 resource(%d) of type (stream)
28 resource(%d) of type (stream)
32 resource(%d) of type (stream)
34 resource(%d) of type (stream)
/PHP-8.0/ext/json/tests/
H A Dunsupported_type_error.phpt6 $resource = fopen(__FILE__, "r");
8 var_dump($resource);
10 var_dump(json_encode($resource));
13 var_dump(json_encode($resource, JSON_PARTIAL_OUTPUT_ON_ERROR));
18 resource(%d) of type (stream)
/PHP-8.0/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-8.0/ext/fileinfo/tests/
H A Dfinfo_open_basic.phpt28 resource(%d) of type (file_info)
29 resource(%d) of type (file_info)
30 resource(%d) of type (file_info)
31 resource(%d) of type (file_info)
32 resource(%d) of type (file_info)
33 resource(%d) of type (file_info)
34 resource(%d) of type (file_info)

Completed in 62 milliseconds

12345678910>>...30