Home
last modified time | relevance | path

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

12345678910>>...25

/php-src/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-src/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.phpt39 resource(%d) of type (Unknown)
41 resource(%d) of type (Unknown)
43 resource(%d) of type (Unknown)
45 resource(%d) of type (Unknown)
51 resource(%d) of type (Unknown)
53 resource(%d) of type (Unknown)
55 resource(%d) of type (Unknown)
57 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-src/ext/phar/
H A Ddirstream.c264 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_open_dir()
265 if (resource->host && !resource->path) { in phar_wrapper_open_dir()
270 php_url_free(resource); in phar_wrapper_open_dir()
276 php_url_free(resource); in phar_wrapper_open_dir()
290 php_url_free(resource); in phar_wrapper_open_dir()
300 php_url_free(resource); in phar_wrapper_open_dir()
305 php_url_free(resource); in phar_wrapper_open_dir()
340 php_url_free(resource); in phar_wrapper_open_dir()
379 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_mkdir()
445 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()
177 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_open_url()
178 php_url_free(resource); in phar_wrapper_open_url()
184 php_url_free(resource); in phar_wrapper_open_url()
209 php_url_free(resource); in phar_wrapper_open_url()
307 php_url_free(resource); in phar_wrapper_open_url()
572 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_stat()
667 php_url *resource; in phar_wrapper_unlink() local
[all …]
/php-src/Zend/tests/settype/
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 …]
/php-src/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()
148 resource->port = 21; 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()
586 if (resource) { in php_stream_url_wrap_ftp()
758 if (resource) { in php_stream_ftp_opendir()
884 if (resource) { in php_stream_ftp_url_stat()
933 if (resource) { in php_stream_ftp_unlink()
1103 if (resource) { in php_stream_ftp_mkdir()
[all …]
H A Dhttp_fopen_wrapper.c187 if (resource == NULL) { in php_stream_url_wrap_http_ex()
223 resource->port = 443; in php_stream_url_wrap_http_ex()
225 resource->port = 80; in php_stream_url_wrap_http_ex()
398 if (resource->path && ZSTR_LEN(resource->path)) { in php_stream_url_wrap_http_ex()
405 if (resource->query) { in php_stream_url_wrap_http_ex()
527 php_url_decode(ZSTR_VAL(resource->user), ZSTR_LEN(resource->user)); in php_stream_url_wrap_http_ex()
533 if (resource->pass) { in php_stream_url_wrap_http_ex()
534 php_url_decode(ZSTR_VAL(resource->pass), ZSTR_LEN(resource->pass)); in php_stream_url_wrap_http_ex()
561 if ((use_ssl && resource->port != 443 && resource->port != 0) || in php_stream_url_wrap_http_ex()
562 (!use_ssl && resource->port != 80 && resource->port != 0)) { in php_stream_url_wrap_http_ex()
[all …]
/php-src/Zend/tests/
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-src/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-src/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-src/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-src/ext/bcmath/tests/number/operators/
H A Dcompare_with_invalid_types.phpt13 [STDERR, 'resource'],
94 100.0000 > resource: false
95 100.0000 >= resource: false
96 100.0000 == resource: false
97 100.0000 <= resource: false
98 100.0000 < resource: false
101 resource > 100.0000: false
102 resource >= 100.0000: false
103 resource == 100.0000: false
104 resource <= 100.0000: false
[all …]
/php-src/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-src/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-src/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 119 milliseconds

12345678910>>...25