/PHP-5.3/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
|
H A D | SplFileObject_fflush_basic_001.phpt | 14 //create a basic stream class 29 //end creating stream 31 //open an SplFileObject using the above test stream
|
/PHP-5.3/ext/fileinfo/tests/ |
H A D | mime_content_type_001.phpt | 18 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 …
|
/PHP-5.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-5.3/ext/mysqlnd/ |
H A D | mysqlnd_net.c | 123 if (net->stream) { in MYSQLND_METHOD() 131 net->stream = NULL; in MYSQLND_METHOD() 166 net->stream->in_free = 1; in MYSQLND_METHOD() 168 net->stream->in_free = 0; in MYSQLND_METHOD() 172 net->stream->__exposed = 1; in MYSQLND_METHOD() 181 net->stream->in_free = 1; in MYSQLND_METHOD() 183 net->stream->in_free = 0; in MYSQLND_METHOD() 706 int was_blocked = net->stream->ops->set_option(net->stream, opt, 0, NULL TSRMLS_CC); in MYSQLND_METHOD() 719 net->stream->ops->set_option(net->stream, opt, 1, NULL TSRMLS_CC); in MYSQLND_METHOD() 933 if (net->stream) { in mysqlnd_net_free() [all …]
|
/PHP-5.3/ext/imap/tests/ |
H A D | imap_close_variation3.phpt | 10 * 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.3/ext/standard/tests/file/ |
H A D | stream_rfc2397_002.phpt | 24 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 D | bug52820.phpt | 2 Bug #52820 (writes to fopencookie FILE* not commited when seeking the stream) 27 echo "temp stream (close after):\n"; 30 echo "\nmemory stream (close after):\n"; 35 temp stream (close after): 42 memory stream (close after):
|
H A D | stream_rfc2397_006.phpt | 15 foreach($streams as $stream) 17 var_dump(file_get_contents($stream)); 28 Warning: file_get_contents(data:;base64,#Zm9vYmFyIGZvb2Jhc=): failed to open stream: rfc2397: unabl…
|
/PHP-5.3/ext/standard/ |
H A D | fsock.c | 42 php_stream *stream = NULL; in php_fsockopen_stream() local 79 stream = php_stream_xport_create(hostname, hostname_len, ENFORCE_SAFE_MODE | 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.3/ext/zlib/tests/ |
H A D | gzfile_variation4.phpt | 29 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 D | gzopen_variation3.phpt | 129 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 D | gzfile_variation5.phpt | 28 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
|
H A D | gzfile_variation7.phpt | 33 Warning: gzfile(string): failed to open stream: No such file or directory in %s on line %d 36 Warning: gzfile(string): failed to open stream: No such file or directory in %s on line %d 39 Warning: gzfile(sTrInG): failed to open stream: No such file or directory in %s on line %d 42 Warning: gzfile(hello world): failed to open stream: No such file or directory in %s on line %d
|
/PHP-5.3/ext/standard/tests/dir/ |
H A D | opendir_variation7.phpt | 90 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 D | readdir_variation5.phpt | 87 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 D | opendir_variation4.phpt | 84 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.3/ext/standard/tests/streams/ |
H A D | bug44818.phpt | 19 resource(%d) of type (stream) 24 resource(%d) of type (stream) 29 resource(%d) of type (stream) 34 resource(%d) of type (stream)
|
H A D | stream_set_timeout_error.phpt | 5 /* Prototype : proto bool stream_set_timeout(resource stream, int seconds, int microseconds) 6 * Description: Set timeout on stream read to seconds + microseonds 37 echo "\n-- Testing stream_set_timeout() function with an invalid stream --\n"; 40 echo "\n-- Testing stream_set_timeout() function with a stream that does not support timeouts --\n"; 64 Warning: stream_set_timeout(): %i is not a valid stream resource in %s on line %i 67 -- Testing stream_set_timeout() function with an invalid stream -- 72 -- Testing stream_set_timeout() function with a stream that does not support timeouts --
|
/PHP-5.3/ext/soap/ |
H A D | php_http.c | 225 stream = NULL; in http_connect() 229 if (stream) { in http_connect() 239 if (stream) { in http_connect() 249 return stream; in http_connect() 359 stream = NULL; in make_http_soap_request() 430 stream = NULL; in make_http_soap_request() 436 if (stream != NULL && php_stream_eof(stream)) { in make_http_soap_request() 441 stream = NULL; in make_http_soap_request() 445 if (!stream) { in make_http_soap_request() 447 if (stream) { in make_http_soap_request() [all …]
|
/PHP-5.3/ext/pdo_pgsql/tests/ |
H A D | bug46274_2.phpt | 67 resource(%d) of type (stream) 69 resource(%d) of type (stream) 74 resource(%d) of type (stream) 76 resource(%d) of type (stream) 81 resource(%d) of type (stream) 83 resource(%d) of type (stream)
|
/PHP-5.3/ext/fileinfo/libmagic/ |
H A D | magic.c | 384 magic_stream(struct magic_set *ms, php_stream *stream) in magic_stream() argument 386 return file_or_stream(ms, NULL, stream); in magic_stream() 390 file_or_stream(struct magic_set *ms, const char *inname, php_stream *stream) in file_or_stream() argument 399 if (!inname && !stream) { in file_or_stream() 413 switch (file_fsmagic(ms, inname, &sb, stream)) { in file_or_stream() 425 if (!stream && inname) { in file_or_stream() 434 if (!stream) { in file_or_stream() 448 if ((nbytes = php_stream_read(stream, (char *)buf, HOWMANY)) < 0) { in file_or_stream() 454 if (file_buffer(ms, stream, inname, buf, (size_t)nbytes) == -1) in file_or_stream() 460 if (no_in_stream && stream) { in file_or_stream() [all …]
|
/PHP-5.3/tests/security/ |
H A D | open_basedir_copy.phpt | 38 Warning: copy(../bad): failed to open stream: %s in %s on line %d 43 Warning: copy(../bad/bad.txt): failed to open stream: %s in %s on line %d 48 Warning: copy(..): failed to open stream: %s in %s on line %d 53 Warning: copy(../): failed to open stream: %s in %s on line %d 58 Warning: copy(/): failed to open stream: %s in %s on line %d 63 Warning: copy(../bad/.): failed to open stream: %s in %s on line %d 68 Warning: copy(../bad/./bad.txt): failed to open stream: %s in %s on line %d 73 Warning: copy(./../.): failed to open stream: %s in %s on line %d
|
/PHP-5.3/ext/com_dotnet/ |
H A D | com_persist.c | 43 php_stream *stream; member 112 nread = php_stream_read(stm->stream, pv, cb); in stm_read() 128 nwrote = php_stream_write(stm->stream, pv, cb); in stm_write() 202 php_stream_flush(stm->stream); in stm_commit() 268 zend_list_delete(stm->stream->rsrc_id); in istream_destructor() 285 stm->stream = stream; in php_com_wrapper_export_stream() 287 zend_list_addref(stream->rsrc_id); in php_com_wrapper_export_stream() 550 php_stream *stream; in CPH_METHOD() local 562 if (stream == NULL) { in CPH_METHOD() 610 php_stream *stream; in CPH_METHOD() local [all …]
|
/PHP-5.3/ext/standard/tests/image/ |
H A D | getimagesize_variation1.phpt | 87 Error: 2 - getimagesize(0): failed to open stream: No such file or directory, %s(%d) 91 Error: 2 - getimagesize(1): failed to open stream: No such file or directory, %s(%d) 95 Error: 2 - getimagesize(12345): failed to open stream: No such file or directory, %s(%d) 99 Error: 2 - getimagesize(-2345): failed to open stream: No such file or directory, %s(%d) 103 Error: 2 - getimagesize(10.5): failed to open stream: No such file or directory, %s(%d) 107 Error: 2 - getimagesize(-10.5): failed to open stream: No such file or directory, %s(%d) 111 Error: 2 - getimagesize(101234567000): failed to open stream: No such file or directory, %s(%d) 115 Error: 2 - getimagesize(0.000107654321): failed to open stream: No such file or directory, %s(%d) 119 Error: 2 - getimagesize(0.5): failed to open stream: No such file or directory, %s(%d) 151 Error: 2 - getimagesize(1): failed to open stream: No such file or directory, %s(%d) [all …]
|