/PHP-8.1/ext/standard/tests/streams/ |
H A D | bug53427.phpt | 19 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 D | bug77080.phpt | 8 $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 D | gh8409.phpt | 11 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 D | finfo_file_stream_001.phpt | 2 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 D | socket_import_stream-4-win.phpt | 14 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 D | socket_import_stream-4.phpt | 14 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 D | socket_export_stream-4.phpt | 14 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 D | socket_export_stream-3.phpt | 22 $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 D | socket_export_stream-4-win.phpt | 14 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 D | image_type_to_mime_type_variation3.phpt | 18 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 D | filter_errors_user.phpt | 55 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 D | bug74267.phpt | 5 $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 D | open_basedir_fopen.phpt | 43 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 D | stream_rfc2397_002.phpt | 24 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 D | stream_enclosed.phpt | 2 Unexposed/leaked stream encloses another stream 11 /* force conversion of inner stream to STDIO. */
|
/PHP-8.1/ext/openssl/tests/ |
H A D | session_meta_capture.phpt | 2 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 D | tls_wrapper_with_tls_v1.3.phpt | 2 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 D | opendir_variation7.phpt | 76 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 D | readdir_variation5.phpt | 73 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 D | SplFileObject_ftruncate_error_001.phpt | 2 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 D | 022.phpt | 2 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 D | gzfile_variation4.phpt | 26 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 D | readgzfile_variation4.phpt | 26 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 D | bug66590.phpt | 19 $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 D | nonblocking.inc | 3 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 = [];
|