Home
last modified time | relevance | path

Searched refs:stream (Results 76 – 100 of 779) sorted by relevance

12345678910>>...32

/PHP-8.1/ext/standard/tests/streams/
H A Dbug53427.phpt19 resource(%d) of type (stream)
21 resource(%d) of type (stream)
25 resource(%d) of type (stream)
27 resource(%d) of type (stream)
H A Dbug77080.phpt8 $stream = fopen('data://text/plain,' . $string,'r');
9 stream_filter_append($stream, 'zlib.deflate', STREAM_FILTER_READ, 6);
10 $compressed = stream_get_contents($stream);
H A Dgh8409.phpt11 if (get_resource_type($res) === 'persistent stream') {
12 echo "ERROR: persistent stream not closed\n";
16 echo "OK: persistent stream closed\n";
25 OK: persistent stream closed
/PHP-8.1/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";
/PHP-8.1/ext/sockets/tests/
H A Dsocket_import_stream-4-win.phpt14 function test($stream, $sock) {
15 if ($stream !== null) {
18 print_r(stream_set_blocking($stream, 0));
48 echo "\nunset stream\n";
60 echo "\nclose stream\n";
79 unset stream
88 close stream
89 stream_set_blocking TypeError: stream_set_blocking(): supplied resource is not a valid stream resou…
100 stream_set_blocking TypeError: stream_set_blocking(): supplied resource is not a valid stream resou…
H A Dsocket_import_stream-4.phpt14 function test($stream, $sock) {
15 if ($stream !== null) {
18 print_r(stream_set_blocking($stream, 0));
48 echo "\nunset stream\n";
60 echo "\nclose stream\n";
81 unset stream
90 close stream
91 stream_set_blocking TypeError: stream_set_blocking(): supplied resource is not a valid stream resou…
102 stream_set_blocking TypeError: stream_set_blocking(): supplied resource is not a valid stream resou…
H A Dsocket_export_stream-4.phpt14 function test($stream, $sock) {
15 if ($stream !== null) {
18 print_r(stream_set_blocking($stream, 0));
49 echo "\nunset stream\n";
63 echo "\nclose stream\n";
86 unset stream
95 close stream
96 stream_set_blocking TypeError: stream_set_blocking(): supplied resource is not a valid stream resou…
107 stream_set_blocking TypeError: stream_set_blocking(): supplied resource is not a valid stream resou…
H A Dsocket_export_stream-3.phpt22 $stream = socket_export_stream($sock);
23 var_dump($stream);
36 stream_set_blocking($stream, 0);
37 var_dump(fread($stream, strlen($m)));
41 resource(%d) of type (stream)
H A Dsocket_export_stream-4-win.phpt14 function test($stream, $sock) {
15 if ($stream !== null) {
18 print_r(stream_set_blocking($stream, 0));
49 echo "\nunset stream\n";
63 echo "\nclose stream\n";
84 unset stream
93 close stream
94 stream_set_blocking TypeError: stream_set_blocking(): supplied resource is not a valid stream resou…
105 stream_set_blocking TypeError: stream_set_blocking(): supplied resource is not a valid stream resou…
/PHP-8.1/ext/standard/tests/image/
H A Dimage_type_to_mime_type_variation3.phpt18 string\(24\) "application\/octet-stream"
45 string\(24\) "application\/octet-stream"
51 string\(24\) "application\/octet-stream"
54 string\(24\) "application\/octet-stream"
57 string\(2[49]\) "application\/(x-shockwave-flash|octet-stream)"
78 string\(24\) "application\/octet-stream"
/PHP-8.1/ext/standard/tests/filters/
H A Dfilter_errors_user.phpt55 fwrite($stream, "42");
56 fseek($stream, 0, SEEK_SET);
58 stream_get_contents($stream);
63 $stream = fopen('php://memory', 'wb+');
64 fwrite($stream, "42");
65 fseek($stream, 0, SEEK_SET);
71 stream_get_contents($stream);
78 fwrite($stream, "42");
79 fseek($stream, 0, SEEK_SET);
85 stream_get_contents($stream);
[all …]
H A Dbug74267.phpt5 $stream = fopen('php://memory', 'w');
6 stream_filter_append($stream, 'convert.quoted-printable-decode', STREAM_FILTER_WRITE, ['line-break-…
16 fwrite($stream, $line);
19 fclose($stream);
/PHP-8.1/tests/security/
H A Dopen_basedir_fopen.phpt43 Warning: fopen(../bad): Failed to open stream: %s in %s on line %d
53 Warning: fopen(..): Failed to open stream: %s in %s on line %d
58 Warning: fopen(../): Failed to open stream: %s in %s on line %d
63 Warning: fopen(/): Failed to open stream: %s in %s on line %d
68 Warning: fopen(../bad/.): Failed to open stream: %s in %s on line %d
78 Warning: fopen(./../.): Failed to open stream: %s in %s on line %d
80 resource(%d) of type (stream)
81 resource(%d) of type (stream)
82 resource(%d) of type (stream)
83 resource(%d) of type (stream)
[all …]
/PHP-8.1/ext/standard/tests/file/
H A Dstream_rfc2397_002.phpt24 foreach($streams as $stream)
26 $stream = fopen($stream, 'r');
27 if ($stream) {
28 $meta = stream_get_meta_data($stream);
54 Warning: fopen(data://): Failed to open stream: rfc2397: no comma in URL in %sstream_rfc2397_002.ph…
73 Warning: fopen(data://;base64): Failed to open stream: rfc2397: no comma in URL in %sstream_rfc2397…
75 Warning: fopen(data://foo,): Failed to open stream: rfc2397: illegal media type in %sstream_rfc2397…
77 Warning: fopen(data://foo=bar,): Failed to open stream: rfc2397: illegal media type in %sstream_rfc…
98 Warning: fopen(data://text/plain;foo,): Failed to open stream: rfc2397: illegal parameter in %sstre…
121 Warning: fopen(data://text/plain;foo=bar;bla,): Failed to open stream: rfc2397: illegal parameter i…
[all …]
H A Dstream_enclosed.phpt2 Unexposed/leaked stream encloses another stream
11 /* force conversion of inner stream to STDIO. */
/PHP-8.1/ext/openssl/tests/
H A Dsession_meta_capture.phpt2 Capture SSL session meta array in stream context
46 $stream = stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx);
47 var_dump(stream_get_meta_data($stream)['crypto']['protocol']);
50 $stream = stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx);
51 var_dump(stream_get_meta_data($stream)['crypto']['protocol']);
54 $stream = stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx);
55 var_dump(stream_get_meta_data($stream)['crypto']['protocol']);
H A Dtls_wrapper_with_tls_v1.3.phpt2 tls stream wrapper when TLS 1.3 available
74 resource(%d) of type (stream)
76 resource(%d) of type (stream)
77 resource(%d) of type (stream)
78 resource(%d) of type (stream)
79 resource(%d) of type (stream)
80 resource(%d) of type (stream)
/PHP-8.1/ext/standard/tests/dir/
H A Dopendir_variation7.phpt76 resource(%d) of type (stream)
80 resource(%d) of type (stream)
84 resource(%d) of type (stream)
88 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)
H A Dreaddir_variation5.phpt73 resource(%d) of type (stream)
79 resource(%d) of type (stream)
85 resource(%d) of type (stream)
91 resource(%d) of type (stream)
97 resource(%d) of type (stream)
103 resource(%d) of type (stream)
109 resource(%d) of type (stream)
115 resource(%d) of type (stream)
121 resource(%d) of type (stream)
127 resource(%d) of type (stream)
/PHP-8.1/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-8.1/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-8.1/ext/zlib/tests/
H A Dgzfile_variation4.phpt26 Warning: gzfile(10.5): Failed to open stream: No such file or directory in %s on line %d
29 Warning: gzfile(-10.5): Failed to open stream: No such file or directory in %s on line %d
32 Warning: gzfile(123456789000): 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(0.5): Failed to open stream: No such file or directory in %s on line %d
H A Dreadgzfile_variation4.phpt26 Warning: readgzfile(10.5): Failed to open stream: No such file or directory in %s on line %d
29 Warning: readgzfile(-10.5): Failed to open stream: No such file or directory in %s on line %d
32 Warning: readgzfile(123456789000): 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 …
38 Warning: readgzfile(0.5): Failed to open stream: No such file or directory in %s on line %d
/PHP-8.1/ext/gd/tests/
H A Dbug66590.phpt19 $stream = fopen($filename, 'rb');
20 fread($stream, 4); // skip "RIFF"
21 $length = fread($stream, 4);
22 fclose($stream);
/PHP-8.1/ext/pgsql/tests/
H A Dnonblocking.inc3 function nb_is_readable($stream, $timeout = 1) {
4 $r = [$stream]; $w = []; $e = [];
7 function nb_is_writable($stream, $timeout = 1) {
8 $r = []; $w = [$stream]; $e = [];

Completed in 35 milliseconds

12345678910>>...32