/PHP-8.3/main/streams/ |
H A D | php_stream_transport.h | 58 PHPAPI int php_stream_xport_bind(php_stream *stream, 64 PHPAPI int php_stream_xport_connect(php_stream *stream, 73 PHPAPI int php_stream_xport_listen(php_stream *stream, 80 PHPAPI int php_stream_xport_accept(php_stream *stream, php_stream **client, 88 PHPAPI int php_stream_xport_get_name(php_stream *stream, int want_peer, 100 PHPAPI int php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen, 106 PHPAPI int php_stream_xport_sendto(php_stream *stream, const char *buf, size_t buflen, 117 PHPAPI int php_stream_xport_shutdown(php_stream *stream, stream_shutdown_t how); 194 PHPAPI int php_stream_xport_crypto_setup(php_stream *stream, php_stream_xport_crypt_method_t crypto… 195 PHPAPI int php_stream_xport_crypto_enable(php_stream *stream, int activate);
|
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.3/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.3/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.3/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.3/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.3/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.3/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.3/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 …]
|
/PHP-8.3/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.3/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.3/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.3/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.3/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.3/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.3/ext/standard/ |
H A D | basic_functions.stub.php | 2692 * @param resource $stream 2733 * @param resource $stream 2739 * @param resource $stream 2752 * @param resource $stream 2765 * @param resource $stream 2790 * @param resource $stream 2836 * @param resource $stream 3352 * @param resource $stream 3358 * @param resource $stream 3406 * @param resource $stream [all …]
|
/PHP-8.3/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);
|