SymfonyWorld Online 2022 Winter Edition

The php_user_filter class

(PHP 5, PHP 7, PHP 8)

Introdução

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.

Sinopse da classe

class php_user_filter {
/* Propriedades */
public string $filtername = "";
public mixed $params = "";
public ?resource $stream = null;
/* Métodos */
public filter(
    resource $in,
    resource $out,
    int &$consumed,
    bool $closing
): int
public onClose(): void
public onCreate(): bool
}

Propriedades

filtername

Name of the filter registered by stream_filter_append().

params

stream

Índice

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top