W3cubDocs

/PHP

streamWrapper::__destruct

(PHP 4 >= 4.3.2, PHP 5, PHP 7)

streamWrapper::__destructDestructs an existing stream wrapper

Description

streamWrapper::__destruct ( )

Called when closing the stream wrapper, right before streamWrapper::stream_flush().

Parameters

This function has no parameters.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/streamwrapper.destruct.php