1<?php
2
3/** @generate-class-entries */
4
5class php_user_filter
6{
7    public string $filtername = "";
8    public mixed $params = "";
9    /** @var resource|null */
10    public $stream = null;
11
12    /**
13     * @param resource $in
14     * @param resource $out
15     * @param int $consumed
16     * @tentative-return-type
17     */
18    public function filter($in, $out, &$consumed, bool $closing): int {}
19
20    /** @tentative-return-type */
21    public function onCreate(): bool {}
22
23    /** @tentative-return-type */
24    public function onClose(): void {}
25}
26