Home
last modified time | relevance | path

Searched refs:stream (Results 51 – 75 of 655) sorted by relevance

12345678910>>...27

/PHP-5.5/ext/sqlite3/tests/
H A Dsqlite3_30_blobopen.phpt2 SQLite3::blobOpen stream test
24 $stream = $db->openBlob('test', 'data', 1);
25 var_dump($stream);
27 var_dump(stream_get_contents($stream));
29 var_dump(fclose($stream));
43 resource(%d) of type (stream)
/PHP-5.5/ext/fileinfo/tests/
H A Dfinfo_file_stream_001.phpt2 finfo_file(): Files and directories inside an stream
13 $stream = "zip://" . __DIR__ . "/resources/dir.zip";
14 $dir = $stream . "#dir/";
15 $png = $stream . "#dir/test.png";
H A Dmime_content_type_001.phpt18 Warning: mime_content_type(): Can only process string or stream arguments in %s on line %d
20 Warning: mime_content_type(): Can only process string or stream arguments in %s on line %d
22 Warning: mime_content_type(): Can only process string or stream arguments in %s on line %d
24 Warning: mime_content_type(): Can only process string or stream arguments in %s on line %d
26 Warning: mime_content_type(foo/inexistent): failed to open stream: No such file or directory in %s …
H A Dfinfo_open_001.phpt22 Warning: finfo_open(%s123): failed to open stream: No such file or directory in %s on line %d
24 Warning: finfo_open(%s123): failed to open stream: No such file or directory in %s on line %d
29 Warning: finfo_open(%s1): failed to open stream: No such file or directory in %s on line %d
31 Warning: finfo_open(%s1): failed to open stream: No such file or directory in %s on line %d
36 Warning: finfo_open(%sinexistent): failed to open stream: No such file or directory in %s on line %d
38 Warning: finfo_open(%sinexistent): failed to open stream: No such file or directory in %s on line %d
/PHP-5.5/ext/standard/tests/image/
H A Dimage_type_to_mime_type_variation3.phpt24 string\(24\) "application\/octet-stream"
51 string\(24\) "application\/octet-stream"
57 string\(24\) "application\/octet-stream"
60 string\(24\) "application\/octet-stream"
63 string\(2[49]\) "application\/(x-shockwave-flash|octet-stream)"
78 string\(24\) "application\/octet-stream"
/PHP-5.5/ext/sockets/tests/
H A Dsocket_import_stream-4-win.phpt15 function test($stream, $sock) {
16 if ($stream !== null) {
18 print_r(stream_set_blocking($stream, 0));
37 echo "\nunset stream\n";
49 echo "\nclose stream\n";
69 unset stream
78 close stream
80 Warning: stream_set_blocking(): %d is not a valid stream resource in %s on line %d
94 Warning: stream_set_blocking(): %d is not a valid stream resource in %s on line %d
/PHP-5.5/ext/spl/tests/
H A DSplFileObject_ftruncate_error_001.phpt2 SplFileObject::ftruncate function - truncating with stream that does not support truncation
6 //create a basic stream class
21 //end creating stream
23 //open an SplFileObject using the above test stream
/PHP-5.5/sapi/cli/tests/
H A D022.phpt2 STDIN/OUT/ERR stream type
43 resource(%d) of type (stream)
45 resource(%d) of type (stream)
46 resource(%d) of type (stream)
47 resource(%d) of type (stream)
/PHP-5.5/ext/imap/tests/
H A Dimap_close_variation3.phpt10 * Description: Close an IMAP stream
15 * Pass different stream types to imap_close() to test whether it can close them
35 resource(%d) of type (stream)
39 resource(%d) of type (stream)
42 resource(%d) of type (stream)
46 resource(%d) of type (stream)
/PHP-5.5/ext/standard/tests/file/
H A Dstream_rfc2397_002.phpt24 foreach($streams as $stream)
26 $stream = fopen($stream, 'r');
27 $meta = @stream_get_meta_data($stream);
54 Warning: fopen(data://): failed to open stream: rfc2397: no comma in URL in %sstream_rfc2397_002.ph…
75 Warning: fopen(data://;base64): failed to open stream: rfc2397: no comma in URL in %sstream_rfc2397…
79 Warning: fopen(data://foo,): failed to open stream: rfc2397: illegal media type in %sstream_rfc2397…
83 Warning: fopen(data://foo=bar,): failed to open stream: rfc2397: illegal media type in %sstream_rfc…
106 Warning: fopen(data://text/plain;foo,): failed to open stream: rfc2397: illegal parameter in %sstre…
131 Warning: fopen(data://text/plain;foo=bar;bla,): failed to open stream: rfc2397: illegal parameter i…
156 Warning: fopen(data://text/plain;foo=bar;bar=baz): failed to open stream: rfc2397: no comma in URL …
H A Dbasename_bug66395_variation2-win32.phpt16 echo basename("a:\\b:\\c:d:hello\\world:some.stream") . "\n";
17 echo basename("a:/b:\\c:d:hello\\world:some.stream:\$DATA") . "\n";
18 echo basename("x:y:z:hello\world:my.stream:\$DATA") . "\n";
33 world:some.stream
34 world:some.stream:$DATA
35 world:my.stream:$DATA
H A Dstream_enclosed.phpt2 Unexposed/leaked stream encloses another stream
12 /* force conversion of inner stream to STDIO. */
/PHP-5.5/ext/fileinfo/libmagic/
H A Dmagic.c341 magic_stream(struct magic_set *ms, php_stream *stream) in magic_stream() argument
345 return file_or_stream(ms, NULL, stream); in magic_stream()
349 file_or_stream(struct magic_set *ms, const char *inname, php_stream *stream) in file_or_stream() argument
358 if (!inname && !stream) { in file_or_stream()
372 switch (file_fsmagic(ms, inname, &sb, stream)) { in file_or_stream()
384 if (!stream && inname) { in file_or_stream()
393 if (!stream) { in file_or_stream()
407 if ((nbytes = php_stream_read(stream, (char *)buf, HOWMANY)) < 0) { in file_or_stream()
413 if (file_buffer(ms, stream, inname, buf, (size_t)nbytes) == -1) in file_or_stream()
419 if (no_in_stream && stream) { in file_or_stream()
[all …]
/PHP-5.5/ext/standard/
H A Dfsock.c42 php_stream *stream = NULL; in php_fsockopen_stream() local
79 stream = php_stream_xport_create(hostname, hostname_len, REPORT_ERRORS, in php_fsockopen_stream()
85 if (stream == NULL) { in php_fsockopen_stream()
93 if (stream == NULL) { in php_fsockopen_stream()
114 php_stream_to_zval(stream, return_value); in php_fsockopen_stream()
/PHP-5.5/ext/zlib/tests/
H A Dgzfile_variation4.phpt29 Warning: gzfile(10.5): failed to open stream: No such file or directory in %s on line %d
32 Warning: gzfile(-10.5): failed to open stream: No such file or directory in %s on line %d
35 Warning: gzfile(123456789000): failed to open stream: No such file or directory in %s on line %d
38 Warning: gzfile(-123456789000): failed to open stream: No such file or directory in %s on line %d
41 Warning: gzfile(0.5): failed to open stream: No such file or directory in %s on line %d
H A Dreadgzfile_variation4.phpt29 Warning: readgzfile(10.5): failed to open stream: No such file or directory in %s on line %d
32 Warning: readgzfile(-10.5): failed to open stream: No such file or directory in %s on line %d
35 Warning: readgzfile(123456789000): failed to open stream: No such file or directory in %s on line %d
38 Warning: readgzfile(-123456789000): failed to open stream: No such file or directory in %s on line …
41 Warning: readgzfile(0.5): failed to open stream: No such file or directory in %s on line %d
H A Dgzopen_variation3.phpt129 resource(%d) of type (stream)
132 resource(%d) of type (stream)
135 resource(%d) of type (stream)
138 resource(%d) of type (stream)
141 resource(%d) of type (stream)
160 resource(%d) of type (stream)
163 resource(%d) of type (stream)
166 resource(%d) of type (stream)
169 resource(%d) of type (stream)
172 resource(%d) of type (stream)
[all …]
H A Dgzfile_variation5.phpt28 Warning: gzfile(0): failed to open stream: No such file or directory in %s on line %d
31 Warning: gzfile(1): failed to open stream: No such file or directory in %s on line %d
34 Warning: gzfile(12345): failed to open stream: No such file or directory in %s on line %d
37 Warning: gzfile(-2345): failed to open stream: No such file or directory in %s on line %d
/PHP-5.5/ext/standard/tests/dir/
H A Dopendir_variation7.phpt90 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)
122 resource(%d) of type (stream)
126 resource(%d) of type (stream)
H A Dreaddir_variation5.phpt87 resource(%d) of type (stream)
93 resource(%d) of type (stream)
99 resource(%d) of type (stream)
105 resource(%d) of type (stream)
111 resource(%d) of type (stream)
117 resource(%d) of type (stream)
123 resource(%d) of type (stream)
129 resource(%d) of type (stream)
135 resource(%d) of type (stream)
141 resource(%d) of type (stream)
H A Dopendir_variation4.phpt84 resource(%d) of type (stream)
88 resource(%d) of type (stream)
91 resource(%d) of type (stream)
95 resource(%d) of type (stream)
98 resource(%d) of type (stream)
102 resource(%d) of type (stream)
106 resource(%d) of type (stream)
/PHP-5.5/ext/standard/tests/streams/
H A Dbug44818.phpt19 resource(%d) of type (stream)
24 resource(%d) of type (stream)
29 resource(%d) of type (stream)
34 resource(%d) of type (stream)
/PHP-5.5/ext/soap/
H A Dphp_http.c264 stream = NULL; in http_connect()
268 if (stream) { in http_connect()
278 if (stream) { in http_connect()
315 return stream; in http_connect()
425 stream = NULL; in make_http_soap_request()
496 stream = NULL; in make_http_soap_request()
502 if (stream != NULL && php_stream_eof(stream)) { in make_http_soap_request()
507 stream = NULL; in make_http_soap_request()
511 if (!stream) { in make_http_soap_request()
513 if (stream) { in make_http_soap_request()
[all …]
/PHP-5.5/ext/pdo_pgsql/tests/
H A Dbug46274_2.phpt72 resource(%d) of type (stream)
74 resource(%d) of type (stream)
79 resource(%d) of type (stream)
81 resource(%d) of type (stream)
86 resource(%d) of type (stream)
88 resource(%d) of type (stream)
/PHP-5.5/ext/phar/tests/
H A Dcreate_path_error.phpt70 1:Error: file_put_contents(phar://%s//): failed to open stream: phar error: file "" in phar "%s" ca…
71 2:Error: file_put_contents(phar://%s/.): failed to open stream: phar error: file "" in phar "%s" ca…
72 3:Error: file_put_contents(phar://%s/../): failed to open stream: phar error: file "" in phar "%s" …
73 4:Error: file_put_contents(phar://%s/a/..): failed to open stream: phar error: file "" in phar "%s"…
78 9:Error: file_put_contents(phar:///%s): failed to open stream: phar error: invalid path "%s" contai…
79 10:Error: file_put_contents(phar:///%s): failed to open stream: phar error: invalid path "%s" conta…
80 11:Error: file_put_contents(phar:///%s): failed to open stream: phar error: invalid path "%s" conta…
81 12:Error: file_put_contents(phar:///%s): failed to open stream: phar error: invalid path "%s" conta…
82 13:Error: file_put_contents(phar:///%s): failed to open stream: phar error: invalid path "%s" conta…

Completed in 60 milliseconds

12345678910>>...27