PHP - Manual: php_user_filter::onClose
2024-12-22
(PHP 5, PHP 7, PHP 8)
php_user_filter::onClose — Called when closing the filter
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.
此函数没有参数。
Return value is ignored.
官方地址:https://www.php.net/manual/en/php-user-filter.onclose.php