Downloads
Documentation
Get Involved
Help
Search docs
ConFoo 2025
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
Einführung »
« SplSubject::notify
PHP-Handbuch
Funktionsreferenz
Sonstige Grunderweiterungen
Change language:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
Streams
Einführung
Installation/Konfiguration
Stream Classes
Vordefinierte Konstanten
Stream Filters
Stream Contexts
Stream Errors
Beispiele
Example class registered as stream wrapper
php_user_filter
— The php_user_filter class
php_user_filter::filter
— Called when applying the filter
php_user_filter::onClose
— Called when closing the filter
php_user_filter::onCreate
— Called when creating the filter
streamWrapper
— The streamWrapper class
streamWrapper::__construct
— Constructs a new stream wrapper
streamWrapper::__destruct
— Destructs an existing stream wrapper
streamWrapper::dir_closedir
— Close directory handle
streamWrapper::dir_opendir
— Open directory handle
streamWrapper::dir_readdir
— Read entry from directory handle
streamWrapper::dir_rewinddir
— Rewind directory handle
streamWrapper::mkdir
— Create a directory
streamWrapper::rename
— Renames a file or directory
streamWrapper::rmdir
— Removes a directory
streamWrapper::stream_cast
— Retrieve the underlaying resource
streamWrapper::stream_close
— Close a resource
streamWrapper::stream_eof
— Tests for end-of-file on a file pointer
streamWrapper::stream_flush
— Flushes the output
streamWrapper::stream_lock
— Advisory file locking
streamWrapper::stream_metadata
— Change stream metadata
streamWrapper::stream_open
— Opens file or URL
streamWrapper::stream_read
— Read from stream
streamWrapper::stream_seek
— Seeks to specific location in a stream
streamWrapper::stream_set_option
— Change stream options
streamWrapper::stream_stat
— Retrieve information about a file resource
streamWrapper::stream_tell
— Retrieve the current position of a stream
streamWrapper::stream_truncate
— Truncate stream
streamWrapper::stream_write
— Write to stream
streamWrapper::unlink
— Delete a file
streamWrapper::url_stat
— Retrieve information about a file
Stream-Funktionen
stream_bucket_append
— Append bucket to brigade
stream_bucket_make_writeable
— Returns a bucket object from the brigade to operate on
stream_bucket_new
— Create a new bucket for use on the current stream
stream_bucket_prepend
— Prepend bucket to brigade
stream_context_create
— Creates a stream context
stream_context_get_default
— Retrieve the default stream context
stream_context_get_options
— Retrieve options for a stream/wrapper/context
stream_context_get_params
— Retrieves parameters from a context
stream_context_set_default
— Set the default stream context
stream_context_set_option
— Sets an option for a stream/wrapper/context
stream_context_set_options
— Sets options on the specified context
stream_context_set_params
— Set parameters for a stream/wrapper/context
stream_copy_to_stream
— Copies data from one stream to another
stream_filter_append
— Attach a filter to a stream
stream_filter_prepend
— Attach a filter to a stream
stream_filter_register
— Register a user defined stream filter
stream_filter_remove
— Remove a filter from a stream
stream_get_contents
— Reads remainder of a stream into a string
stream_get_filters
— Retrieve list of registered filters
stream_get_line
— Gets line from stream resource up to a given delimiter
stream_get_meta_data
— Retrieves header/meta data from streams/file pointers
stream_get_transports
— Retrieve list of registered socket transports
stream_get_wrappers
— Retrieve list of registered streams
stream_is_local
— Checks if a stream is a local stream
stream_isatty
— Check if a stream is a TTY
stream_notification_callback
— A callback function for the notification context parameter
stream_register_wrapper
— Alias von stream_wrapper_register
stream_resolve_include_path
— Resolve filename against the include path
stream_select
— Runs the equivalent of the select() system call on the given arrays of streams with a timeout specified by seconds and microseconds
stream_set_blocking
— Set blocking/non-blocking mode on a stream
stream_set_chunk_size
— Set the stream chunk size
stream_set_read_buffer
— Set read file buffering on the given stream
stream_set_timeout
— Set timeout period on a stream
stream_set_write_buffer
— Sets write file buffering on the given stream
stream_socket_accept
— Accept a connection on a socket created by stream_socket_server
stream_socket_client
— Open Internet or Unix domain socket connection
stream_socket_enable_crypto
— Turns encryption on/off on an already connected socket
stream_socket_get_name
— Retrieve the name of the local or remote sockets
stream_socket_pair
— Creates a pair of connected, indistinguishable socket streams
stream_socket_recvfrom
— Receives data from a socket, connected or not
stream_socket_sendto
— Sends a message to a socket, whether it is connected or not
stream_socket_server
— Create an Internet or Unix domain server socket
stream_socket_shutdown
— Shutdown a full-duplex connection
stream_supports_lock
— Tells whether the stream supports locking
stream_wrapper_register
— Register a URL wrapper implemented as a PHP class
stream_wrapper_restore
— Restores a previously unregistered built-in wrapper
stream_wrapper_unregister
— Unregister a URL wrapper
Found A Problem?
Learn How To Improve This Page
•
Submit a Pull Request
•
Report a Bug
+
add a note
User Contributed Notes
There are no user contributed notes for this page.
↑
and
↓
to navigate •
Enter
to select •
Esc
to close
Press
Enter
without selection to search using Google