PHP 8.1.28 Released!

php_user_filter sınıfı

(PHP 5, PHP 7, PHP 8)

Giriş

Bu sınıfın çocukları stream_filter_register() işlevine aktarılır. Bu sınıfı ilklendirmek için __construct değil php_user_filter::onCreate() çağrılmalıdır.

Sınıf Sözdizimi

class php_user_filter {
/* Özellikler */
public string $filtername = "";
public mixed $params = "";
public ?resource $stream = null;
/* Yöntemler */
public filter(
    resource $giriş,
    resource $çıkş,
    int &$tüketilen,
    bool $kapanış
): int
public onClose(): void
public onCreate(): bool
}

Özellikler

filtername

stream_filter_append() tarafından belirlenen süzgeç ismi.

params

stream

İçindekiler

add a note

User Contributed Notes

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