mcrypt_generic_end()
(PHP 4 >= 4.0.2, PHP 5)
终止加密
WarningThis function wasDEPRECATEDin PHP 5.3.0, andREMOVEDin PHP 7.0.0.
Alternatives to this function include:
说明
mcrypt_generic_end(resource $td): bool
WarningThis alias wasDEPRECATEDin PHP 5.3.0, andREMOVEDas of PHP 7.0.0.
Warning请使用函数mcrypt_generic_deinit()来替代本函数,因为当本函数和mcrypt_module_close()一起使用的时候,可能会发生由重复释放缓冲区导致的崩溃。
本函数终止由加密描述符($td)指定的加密模块。实际上,它会清理所有的缓冲区,并且关闭已经打开的模块。如果发生错误,返回FALSE
,成功返回TRUE
。