/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
|
H A D | open_basedir_dir.phpt | 74 resource(%d) of type (stream) 80 resource(%d) of type (stream) 86 resource(%d) of type (stream)
|
H A D | open_basedir_error_log_variation.phpt | 35 Warning: error_log(%s/test/bad/bad.txt): failed to open stream: %s in %s on line %d 40 Warning: error_log(%s/test/bad.txt): failed to open stream: %s in %s on line %d 45 Warning: error_log(%s/bad.txt): failed to open stream: %s in %s on line %d
|
H A D | open_basedir_file.phpt | 34 Warning: file(../bad): failed to open stream: %s in %s on line %d 39 Warning: file(../bad/bad.txt): failed to open stream: %s in %s on line %d 44 Warning: file(..): failed to open stream: %s in %s on line %d 49 Warning: file(../): failed to open stream: %s in %s on line %d 54 Warning: file(/): failed to open stream: %s in %s on line %d 59 Warning: file(../bad/.): failed to open stream: %s in %s on line %d 64 Warning: file(%s/test/bad/bad.txt): failed to open stream: %s in %s on line %d 69 Warning: file(%s/test/bad/../bad/bad.txt): failed to open stream: %s in %s on line %d
|
H A D | open_basedir_file_get_contents.phpt | 34 Warning: file_get_contents(../bad): failed to open stream: %s in %s on line %d 39 Warning: file_get_contents(../bad/bad.txt): failed to open stream: %s in %s on line %d 44 Warning: file_get_contents(..): failed to open stream: %s in %s on line %d 49 Warning: file_get_contents(../): failed to open stream: %s in %s on line %d 54 Warning: file_get_contents(/): failed to open stream: %s in %s on line %d 59 Warning: file_get_contents(../bad/.): failed to open stream: %s in %s on line %d 64 Warning: file_get_contents(%s/test/bad/bad.txt): failed to open stream: %s in %s on line %d 69 Warning: file_get_contents(%s/test/bad/../bad/bad.txt): failed to open stream: %s in %s on line %d
|
H A D | open_basedir_file_put_contents.phpt | 34 Warning: file_put_contents(../bad/bad.txt): failed to open stream: %s in %s on line %d 39 Warning: file_put_contents(.././bad/bad.txt): failed to open stream: %s in %s on line %d 44 Warning: file_put_contents(../bad/../bad/bad.txt): failed to open stream: %s in %s on line %d 49 Warning: file_put_contents(./.././bad/bad.txt): failed to open stream: %s in %s on line %d 54 Warning: file_put_contents%s/test/bad/bad.txt): failed to open stream: %s in %s on line %d
|
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 …]
|
H A D | open_basedir_opendir.phpt | 69 resource(%d) of type (stream) 70 resource(%d) of type (stream) 71 resource(%d) of type (stream)
|
H A D | open_basedir_parse_ini_file.phpt | 42 Warning: parse_ini_file(%stest\bad): failed to open stream: Operation not permitted in %sopen_based… 47 Warning: parse_ini_file(%stest\bad\bad.txt): failed to open stream: Operation not permitted in %sop… 52 Warning: parse_ini_file(%stest): failed to open stream: Operation not permitted in %sopen_basedir_p… 57 Warning: parse_ini_file(%stest): failed to open stream: Operation not permitted in %sopen_basedir_p… 62 Warning: parse_ini_file(%stest\bad): failed to open stream: Operation not permitted in %sopen_based… 67 Warning: parse_ini_file(%stest\bad\bad.txt): failed to open stream: Operation not permitted in %sop… 72 Warning: parse_ini_file(%stest): failed to open stream: Operation not permitted in %sopen_basedir_p…
|
/PHP-5.3/tests/lang/ |
H A D | bug35176.phpt | 12 …ction.require-once.html'>function.require-once.html</a>]: failed to open stream: No such file or d…
|
H A D | bug43958.phpt | 14 Warning: include(file-which-does-not-exist-on-purpose.php): failed to open stream: No such file or …
|
/PHP-5.3/sapi/tests/ |
H A D | test006.phpt | 40 Content-Type: application/octet-stream 67 [type] => application/octet-stream
|
H A D | test007.phpt | 35 Content-Type: application/octet-stream
|
/PHP-5.3/sapi/thttpd/ |
H A D | thttpd_patch | 1111 -a application/octet-stream 1116 bin application/octet-stream 1117 +dms application/octet-stream 1118 +lha application/octet-stream 1119 +lzh application/octet-stream 1120 exe application/octet-stream 1121 -dump application/octet-stream 1122 -o application/octet-stream 1125 +class application/octet-stream 1126 +so application/octet-stream [all …]
|
/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/sapi/apache2filter/ |
H A D | sapi_apache2.c | 543 zfd.handle.stream.handle = pbb; in php_output_filter() 544 zfd.handle.stream.reader = php_apache_read_stream; in php_output_filter() 545 zfd.handle.stream.closer = NULL; in php_output_filter() 546 zfd.handle.stream.fsizer = php_apache_fsizer_stream; in php_output_filter() 547 zfd.handle.stream.isatty = 0; in php_output_filter()
|
/PHP-5.3/main/streams/ |
H A D | cast.c | 208 if (stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0) { in _php_stream_cast() 211 stream->ops->seek(stream, stream->position, SEEK_SET, &dummy TSRMLS_CC); in _php_stream_cast() 212 stream->readpos = stream->writepos = 0; in _php_stream_cast() 219 if (stream->stdiocast) { in _php_stream_cast() 229 stream->ops->cast && in _php_stream_cast() 231 stream->ops->cast(stream, castas, ret TSRMLS_CC) == SUCCESS in _php_stream_cast() 272 …if (!php_stream_is_filtered(stream) && stream->ops->cast && stream->ops->cast(stream, castas, NULL… in _php_stream_cast() 273 if (FAILURE == stream->ops->cast(stream, castas, ret TSRMLS_CC)) { in _php_stream_cast() 309 } else if (stream->ops->cast && stream->ops->cast(stream, castas, ret TSRMLS_CC) == SUCCESS) { in _php_stream_cast() 329 if ((stream->writepos - stream->readpos) > 0 && in _php_stream_cast() [all …]
|
H A D | filter.c | 339 php_stream *stream = chain->stream; in php_stream_filter_append_ex() local 351 if (&(stream->readfilters) == chain && (stream->writepos - stream->readpos) > 0) { in php_stream_filter_append_ex() 359 …bucket = php_stream_bucket_new(stream, (char*) stream->readbuf + stream->readpos, stream->writepos… in php_stream_filter_append_ex() 363 if (stream->readpos + consumed > (uint)stream->writepos) { in php_stream_filter_append_ex() 401 if (stream->readbuflen - stream->writepos < bucket->buflen) { in php_stream_filter_append_ex() 403 stream->readbuf = perealloc(stream->readbuf, stream->readbuflen, stream->is_persistent); in php_stream_filter_append_ex() 447 stream = chain->stream; in _php_stream_filter_flush() 487 memcpy(stream->readbuf, stream->readbuf + stream->readpos, stream->writepos - stream->readpos); in _php_stream_filter_flush() 489 stream->writepos -= stream->readpos; in _php_stream_filter_flush() 491 if (flushed_size > (stream->readbuflen - stream->writepos)) { in _php_stream_filter_flush() [all …]
|
H A D | glob_wrapper.c | 50 PHPAPI char* _php_glob_stream_get_path(php_stream *stream, int copy, int *plen STREAMS_DC TSRMLS_DC… in _php_glob_stream_get_path() argument 52 glob_s_t *pglob = (glob_s_t *)stream->abstract; in _php_glob_stream_get_path() 74 glob_s_t *pglob = (glob_s_t *)stream->abstract; in _php_glob_stream_get_pattern() 94 PHPAPI int _php_glob_stream_get_count(php_stream *stream, int *pflags STREAMS_DC TSRMLS_DC) /* {{{ … in _php_glob_stream_get_count() argument 96 glob_s_t *pglob = (glob_s_t *)stream->abstract; in _php_glob_stream_get_count() 140 static size_t php_glob_stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) /* {{{ */ in php_glob_stream_read() argument 142 glob_s_t *pglob = (glob_s_t *)stream->abstract; in php_glob_stream_read() 164 static int php_glob_stream_close(php_stream *stream, int close_handle TSRMLS_DC) /* {{{ */ in php_glob_stream_close() argument 166 glob_s_t *pglob = (glob_s_t *)stream->abstract; in php_glob_stream_close() 178 efree(stream->abstract); in php_glob_stream_close() [all …]
|
H A D | php_stream_context.h | 69 const char *hostent, php_stream **stream); 71 const char *hostent, php_stream *stream); 73 php_stream *stream); 98 PHPAPI php_stream_context *php_stream_context_set(php_stream *stream, php_stream_context *context);
|
H A D | php_stream_filter_api.h | 70 PHPAPI php_stream_bucket *php_stream_bucket_new(php_stream *stream, char *buf, size_t buflen, int o… 87 php_stream *stream, 105 php_stream *stream; member 142 #define php_stream_is_filtered(stream) ((stream)->readfilters.head || (stream)->writefilters.head) argument
|
H A D | php_stream_glob_wrapper.h | 26 PHPAPI char* _php_glob_stream_get_path(php_stream *stream, int copy, int *plen STREAMS_DC TSRMLS_DC… 27 #define php_glob_stream_get_path(stream, copy, plen) _php_glob_stream_get_path((stream), (copy), (p… argument 29 PHPAPI char* _php_glob_stream_get_pattern(php_stream *stream, int copy, int *plen STREAMS_DC TSRMLS… 30 #define php_glob_stream_get_pattern(stream, copy, plen) _php_glob_stream_get_pattern((stream), (cop… argument 32 PHPAPI int _php_glob_stream_get_count(php_stream *stream, int *pflags STREAMS_DC TSRMLS_DC); 33 #define php_glob_stream_get_count(stream, pflags) _php_glob_stream_get_count((stream), (pflags) STR… argument
|
H A D | php_stream_mmap.h | 63 #define php_stream_mmap_supported(stream) (_php_stream_set_option((stream), PHP_STREAM_OPTION_MMAP_… argument 67 #define php_stream_mmap_possible(stream) (!php_stream_is_filtered((stream)) && php_stream_mmap_su… argument 70 PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mm… 71 #define php_stream_mmap_range(stream, offset, length, mode, mapped_len) _php_stream_mmap_range((str… argument 74 PHPAPI int _php_stream_mmap_unmap(php_stream *stream TSRMLS_DC); 75 #define php_stream_mmap_unmap(stream) _php_stream_mmap_unmap((stream) TSRMLS_CC) argument 77 PHPAPI int _php_stream_mmap_unmap_ex(php_stream *stream, off_t readden TSRMLS_DC); 78 #define php_stream_mmap_unmap_ex(stream, readden) _php_stream_mmap_unmap_ex((stream), (readden) T… argument
|
H A D | php_stream_transport.h | 61 PHPAPI int php_stream_xport_bind(php_stream *stream, 67 PHPAPI int php_stream_xport_connect(php_stream *stream, 76 PHPAPI int php_stream_xport_listen(php_stream *stream, 83 PHPAPI int php_stream_xport_accept(php_stream *stream, php_stream **client, 91 PHPAPI int php_stream_xport_get_name(php_stream *stream, int want_peer, 103 PHPAPI int php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen, 109 PHPAPI int php_stream_xport_sendto(php_stream *stream, const char *buf, size_t buflen, 120 PHPAPI int php_stream_xport_shutdown(php_stream *stream, stream_shutdown_t how TSRMLS_DC); 180 PHPAPI int php_stream_xport_crypto_setup(php_stream *stream, php_stream_xport_crypt_method_t crypto… 181 PHPAPI int php_stream_xport_crypto_enable(php_stream *stream, int activate TSRMLS_DC);
|
H A D | xp_socket.c | 154 php_sock_stream_wait_for_data(stream, sock TSRMLS_CC); in php_sockop_read() 209 pefree(sock, php_stream_is_persistent(stream)); in php_sockop_close() 579 if (stream->ops == &php_stream_unix_socket_ops || stream->ops == &php_stream_unixdg_socket_ops) { in php_tcp_sockop_bind() 628 if (stream->ops == &php_stream_unix_socket_ops || stream->ops == &php_stream_unixdg_socket_ops) { in php_tcp_sockop_connect() 660 …if (stream->context && php_stream_context_get_option(stream->context, "socket", "bindto", &tmpzval… in php_tcp_sockop_connect() 739 if (stream->context) { in php_tcp_sockop_accept() 740 zend_list_addref(stream->context->rsrc_id); in php_tcp_sockop_accept() 787 php_stream *stream = NULL; in php_stream_generic_socket_factory() local 822 if (stream == NULL) { in php_stream_generic_socket_factory() 828 return stream; in php_stream_generic_socket_factory() [all …]
|