PHP Function Reference

PHP php_user_filter onClose() Method



The PHP php_user_filter::onClose() method is 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.

Syntax

public php_user_filter::onClose()

Parameters

No parameter is required.

Return Value

No value is returned.


❮ PHP Streams Reference