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
 
<streamWrapper::__constructstreamWrapper::dir_closedir>
^streamWrapperLast updated: Mon, 26 Oct 2026

streamWrapper::__destruct

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

streamWrapper::__destruct — Destructs an existing stream wrapper

Description

public function streamWrapper::__destruct()

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

Parameters

This function has no parameters.


<streamWrapper::__constructstreamWrapper::dir_closedir>
^streamWrapperLast updated: Mon, 26 Oct 2026