mcrypt_enc_self_test()
(PHP 4 >= 4.0.2, PHP 5, PHP 7 < 7.2.0, PECL mcrypt >= 1.0.0)
在打开的模块上进行自检
WarningThis function has beenDEPRECATEDas of PHP 7.1.0. Relying on this functionis highly discouraged.
说明
mcrypt_enc_self_test(resource $td): int
在$td指定的算法上进行自检操作。
参数
- $td
加密描述符。
返回值
自检成功返回0,失败则返回一个小于零的integer。