Home
last modified time | relevance | path

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

12345678910>>...28

/PHP-8.2/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.2/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.2/ext/phar/
H A Ddirstream.c306 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_open_dir()
307 if (resource->host && !resource->path) { in phar_wrapper_open_dir()
312 php_url_free(resource); in phar_wrapper_open_dir()
318 php_url_free(resource); in phar_wrapper_open_dir()
334 php_url_free(resource); in phar_wrapper_open_dir()
346 php_url_free(resource); in phar_wrapper_open_dir()
351 php_url_free(resource); in phar_wrapper_open_dir()
389 php_url_free(resource); in phar_wrapper_open_dir()
429 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_mkdir()
497 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()
309 php_url_free(resource); in phar_wrapper_open_url()
576 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_stat()
672 php_url *resource; in phar_wrapper_unlink() local
[all …]
/PHP-8.2/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
521 Unsupported operand types: resource ** resource
597 Unsupported operand types: resource << resource
677 Unsupported operand types: resource >> resource
757 Unsupported operand types: resource & resource
832 Unsupported operand types: resource | resource
[all …]
/PHP-8.2/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.c159 if (resource == NULL) { in php_stream_url_wrap_http_ex()
191 …use_ssl = resource->scheme && (ZSTR_LEN(resource->scheme) > 4) && ZSTR_VAL(resource->scheme)[4] ==… in php_stream_url_wrap_http_ex()
194 resource->port = 443; in php_stream_url_wrap_http_ex()
196 resource->port = 80; in php_stream_url_wrap_http_ex()
403 if (resource->path && ZSTR_LEN(resource->path)) { in php_stream_url_wrap_http_ex()
532 php_url_decode(ZSTR_VAL(resource->user), ZSTR_LEN(resource->user)); in php_stream_url_wrap_http_ex()
538 if (resource->pass) { in php_stream_url_wrap_http_ex()
539 php_url_decode(ZSTR_VAL(resource->pass), ZSTR_LEN(resource->pass)); in php_stream_url_wrap_http_ex()
566 if ((use_ssl && resource->port != 443 && resource->port != 0) || in php_stream_url_wrap_http_ex()
567 (!use_ssl && resource->port != 80 && resource->port != 0)) { in php_stream_url_wrap_http_ex()
[all …]
/PHP-8.2/ext/ftp/tests/
H A D007.phpt2 FTP with bogus resource
183 ftp_pwd(): Argument #1 ($ftp) must be of type FTP\Connection, resource given
184 ftp_cdup(): Argument #1 ($ftp) must be of type FTP\Connection, resource given
186 ftp_exec(): Argument #1 ($ftp) must be of type FTP\Connection, resource given
187 ftp_raw(): Argument #1 ($ftp) must be of type FTP\Connection, resource given
194 ftp_mlsd(): Argument #1 ($ftp) must be of type FTP\Connection, resource given
196 ftp_fget(): Argument #1 ($ftp) must be of type FTP\Connection, resource given
198 ftp_pasv(): Argument #1 ($ftp) must be of type FTP\Connection, resource given
199 ftp_get(): Argument #1 ($ftp) must be of type FTP\Connection, resource given
202 ftp_fput(): Argument #1 ($ftp) must be of type FTP\Connection, resource given
[all …]
/PHP-8.2/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.2/ext/zlib/tests/
H A Ddeflate_init_reuse.phpt7 $resource = deflate_init(ZLIB_ENCODING_DEFLATE);
9 deflate_add($resource, $char);
11 deflate_add($resource, "", ZLIB_FINISH);
13 // Now reuse the existing resource after finishing the previous operations ...
17 $compressed .= deflate_add($resource, $char, ZLIB_NO_FLUSH);
19 $compressed .= deflate_add($resource, "", ZLIB_FINISH);
H A Dinflate_init_reuse.phpt7 $resource = inflate_init(ZLIB_ENCODING_GZIP);
13 $inflated .= inflate_add($resource, $compressed[$i]);
15 $inflated .= inflate_add($resource, "", ZLIB_FINISH);
18 // Now reuse the existing resource after finishing the previous operations ...
21 $inflated .= inflate_add($resource, $compressed[$i]);
23 $inflated .= inflate_add($resource, "", ZLIB_FINISH);
/PHP-8.2/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.2/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.2/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.2/ext/xml/tests/
H A Dbug35447.phpt14 <!ELEMENT bundle (resource)+>
15 <!ELEMENT resource (#PCDATA)>
16 <!ATTLIST resource
21 <resource key="rSeeYou">A bient&amp;244;t</resource>
35 string(8) "resource"

Completed in 41 milliseconds

12345678910>>...28