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
 
<mcrypt_list_modesmcrypt_module_get_algo_block_size>
^Mcrypt FunctionsLast updated: Mon, 26 Oct 2026

mcrypt_module_close

(PHP 4 >= 4.0.2, PHP 5, PHP 7 < 7.2.0, PECL mcrypt >= 1.0.0)

mcrypt_module_close — Closes the mcrypt module

Warning

This function has been DEPRECATED as of PHP 7.1.0 and REMOVED as of PHP 7.2.0. Relying on this function is highly discouraged.

Description

function mcrypt_module_close(resource $td): bool

Closes the specified encryption handle.

Parameters

td

The encryption descriptor.

Return Values

Returns true on success or false on failure.

See Also


<mcrypt_list_modesmcrypt_module_get_algo_block_size>
^Mcrypt FunctionsLast updated: Mon, 26 Oct 2026