PHP - Manual: Stream Classes
2024-12-21
User designed wrappers can be registered via stream_wrapper_register(), using the class definition shown on that manual page.
Class php_user_filter is predefined and is an abstract baseclass for use with user defined filters. See the manual page for stream_filter_register() for details on implementing user defined filters.