(PHP 5, PHP 7, PHP 8)
Children of this class are passed to stream_filter_register(). Note that the __construct method is not called; instead, php_user_filter::onCreate() should be used for initialization.
public filter( resource $in, resource $out, int &$consumed, bool $closing ): int
public onClose(): void
public onCreate(): bool}
Name of the filter registered by stream_filter_append().
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.php-user-filter.php