略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: mcrypt_generic_end

2024-05-19

mcrypt_generic_end

(PHP 4 >= 4.0.2, PHP 5)

mcrypt_generic_end终止加密

Warning

This function was DEPRECATED in PHP 5.3.0, and REMOVED in PHP 7.0.0.

Alternatives to this function include:

说明

mcrypt_generic_end ( resource $td ) : bool
Warning

This alias was DEPRECATED in PHP 5.3.0, and REMOVED as of PHP 7.0.0.

Warning

请使用函数 mcrypt_generic_deinit() 来替代本函数, 因为当本函数和 mcrypt_module_close() 一起使用的时候, 可能会发生由重复释放缓冲区导致的崩溃。

本函数终止由加密描述符(td)指定的加密模块。 实际上,它会清理所有的缓冲区,并且关闭已经打开的模块。 如果发生错误,返回 FALSE, 成功返回 TRUE

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.mcrypt-generic-end.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3