/PHP-8.2/ext/standard/tests/filters/ |
H A D | bug73586.phpt | 2 Bug #73586 (php_user_filter::$stream is not set to the stream the filter is working on). 6 public $stream; 13 $bucket = stream_bucket_new($this->stream, "FooBar\n"); 27 public $stream; 34 $bucket = stream_bucket_new($this->stream, "FooBar\n");
|
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 …]
|
/PHP-8.2/ext/sockets/tests/ |
H A D | socket_export_stream-1.phpt | 14 $stream = socket_export_stream($s0); 15 var_dump($stream); 20 var_dump(stream_get_contents($stream)); 23 resource(%d) of type (stream)
|
H A D | socket_import_stream-4-win.phpt | 15 function test($stream, $sock) { 16 if ($stream !== null) { 19 print_r(stream_set_blocking($stream, 0)); 49 echo "\nunset stream\n"; 61 echo "\nclose stream\n"; 80 unset stream 89 close stream 90 stream_set_blocking TypeError: stream_set_blocking(): supplied resource is not a valid stream resou… 101 stream_set_blocking TypeError: stream_set_blocking(): supplied resource is not a valid stream resou…
|
H A D | socket_import_stream-4.phpt | 15 function test($stream, $sock) { 16 if ($stream !== null) { 19 print_r(stream_set_blocking($stream, 0)); 49 echo "\nunset stream\n"; 61 echo "\nclose stream\n"; 82 unset stream 91 close stream 92 stream_set_blocking TypeError: stream_set_blocking(): supplied resource is not a valid stream resou… 103 stream_set_blocking TypeError: stream_set_blocking(): supplied resource is not a valid stream resou…
|
H A D | socket_export_stream-4.phpt | 15 function test($stream, $sock) { 16 if ($stream !== null) { 19 print_r(stream_set_blocking($stream, 0)); 50 echo "\nunset stream\n"; 64 echo "\nclose stream\n"; 87 unset stream 96 close stream 97 stream_set_blocking TypeError: stream_set_blocking(): supplied resource is not a valid stream resou… 108 stream_set_blocking TypeError: stream_set_blocking(): supplied resource is not a valid stream resou…
|
H A D | socket_export_stream-3.phpt | 23 $stream = socket_export_stream($sock); 24 var_dump($stream); 37 stream_set_blocking($stream, 0); 38 var_dump(fread($stream, strlen($m))); 42 resource(%d) of type (stream)
|
H A D | socket_export_stream-4-win.phpt | 15 function test($stream, $sock) { 16 if ($stream !== null) { 19 print_r(stream_set_blocking($stream, 0)); 50 echo "\nunset stream\n"; 64 echo "\nclose stream\n"; 85 unset stream 94 close stream 95 stream_set_blocking TypeError: stream_set_blocking(): supplied resource is not a valid stream resou… 106 stream_set_blocking TypeError: stream_set_blocking(): supplied resource is not a valid stream resou…
|
/PHP-8.2/ext/standard/tests/file/ |
H A D | php_fd_wrapper_03.phpt | 15 Warning: fopen(php://fd): Failed to open stream: operation failed in %s on line 2 17 Warning: fopen(php://fd/): Failed to open stream: php://fd/ stream must be specified in the form ph… 19 Warning: fopen(php://fd/-2): Failed to open stream: The file descriptors must be non-negative numbe… 21 Warning: fopen(php://fd/1/): Failed to open stream: php://fd/ stream must be specified in the form …
|
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 …]
|
/PHP-8.2/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);
|
/PHP-8.2/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.2/ext/standard/libavifinfo/ |
H A D | avifinfo.h | 69 typedef const uint8_t* (*read_stream_t)(void* stream, size_t num_bytes); 71 typedef void (*skip_stream_t)(void* stream, size_t num_bytes); 79 AvifInfoStatus AvifInfoIdentifyStream(void* stream, read_stream_t read, 82 AvifInfoStatus AvifInfoGetFeaturesStream(void* stream, read_stream_t read,
|
/PHP-8.2/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.2/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.2/main/streams/ |
H A D | glob_wrapper.c | 49 PHPAPI char* _php_glob_stream_get_path(php_stream *stream, size_t *plen STREAMS_DC) /* {{{ */ in _php_glob_stream_get_path() argument 51 glob_s_t *pglob = (glob_s_t *)stream->abstract; in _php_glob_stream_get_path() 69 glob_s_t *pglob = (glob_s_t *)stream->abstract; in _php_glob_stream_get_pattern() 90 PHPAPI int _php_glob_stream_get_count(php_stream *stream, int *pflags STREAMS_DC) /* {{{ */ in _php_glob_stream_get_count() argument 92 glob_s_t *pglob = (glob_s_t *)stream->abstract; in _php_glob_stream_get_count() 136 static ssize_t php_glob_stream_read(php_stream *stream, char *buf, size_t count) /* {{{ */ in php_glob_stream_read() argument 138 glob_s_t *pglob = (glob_s_t *)stream->abstract; in php_glob_stream_read() 167 static int php_glob_stream_close(php_stream *stream, int close_handle) /* {{{ */ in php_glob_stream_close() argument 169 glob_s_t *pglob = (glob_s_t *)stream->abstract; in php_glob_stream_close() 184 efree(stream->abstract); in php_glob_stream_close() [all …]
|
/PHP-8.2/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.2/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)
|
/PHP-8.2/ext/spl/tests/SplFileObject/ |
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 22 //end creating stream 24 //open an SplFileObject using the above test stream
|
/PHP-8.2/ext/standard/ |
H A D | basic_functions.stub.php | 2747 * @param resource $stream 2788 * @param resource $stream 2794 * @param resource $stream 2807 * @param resource $stream 2820 * @param resource $stream 2845 * @param resource $stream 2891 * @param resource $stream 3415 * @param resource $stream 3421 * @param resource $stream 3469 * @param resource $stream [all …]
|
/PHP-8.2/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.2/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)
|