Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<php_user_filter::filterphp_user_filter::onCreate>
^php_user_filterLast updated: Mon, 26 Oct 2026

php_user_filter::onClose

(PHP 5, PHP 7, PHP 8)

php_user_filter::onClose — Called when closing the filter

Description

public function php_user_filter::onClose(): void

This method is called upon filter shutdown (typically, this is also during stream shutdown), and is executed after the flush method is called. If any resources were allocated or initialized during onCreate() this would be the time to destroy or dispose of them.

Parameters

This function has no parameters.

Return Values

Return value is ignored.


<php_user_filter::filterphp_user_filter::onCreate>
^php_user_filterLast updated: Mon, 26 Oct 2026