stream_filter_register()
function stream_filter_register(string $filter_name, string $class): bool
Registers a user-defined stream filter.
Parameters:
$filter_name(string)$class(string)
Returns: bool
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how stream_filter_register is implemented in the compiler, see the internals page.