php / 8.1.5 / streamwrapper.destruct.html /

streamWrapper::__destruct

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

streamWrapper::__destructDestructs an existing stream wrapper

Description

public streamWrapper::__destruct()

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

Parameters

This function has no parameters.

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