大网数据广告活动
PHP 语言与运行手册

预定义常量

· 52CE 我爱测

All MHASH_* constants are deprecated as of PHP 8.5.0.

预定义常量

下列常量由此扩展定义,且仅在此扩展编译入 PHP 或在运行时动态载入时可用。

警告

All MHASH_* constants are deprecated as of PHP 8.5.0.

Here is a list of hashes which are currently supported by mhash. If a hash is not listed here, but it is listed in the mhash documentation as supported, you can safely assume that this documentation is outdated.

MHASH_ADLER32 (int)

MHASH_CRC32 (int)

MHASH_CRC32B (int)

MHASH_CRC32C (int)

Available as of PHP 7.4.0.

MHASH_FNV132 (int)

MHASH_FNV1A32 (int)

MHASH_FNV164 (int)

MHASH_FNV1A64 (int)

MHASH_GOST (int)

MHASH_HAVAL128 (int)

MHASH_HAVAL160 (int)

MHASH_HAVAL192 (int)

MHASH_HAVAL224 (int)

MHASH_HAVAL256 (int)

MHASH_JOAAT (int)

MHASH_MD2 (int)

MHASH_MD4 (int)

MHASH_MD5 (int)

MHASH_MURMUR3A (int)

Available as of PHP 8.1.0.

MHASH_MURMUR3C (int)

Available as of PHP 8.1.0.

MHASH_MURMUR3F (int)

Available as of PHP 8.1.0.

MHASH_RIPEMD128 (int)

MHASH_RIPEMD160 (int)

MHASH_RIPEMD256 (int)

MHASH_RIPEMD320 (int)

MHASH_SHA1 (int)

MHASH_SHA224 (int)

MHASH_SHA256 (int)

MHASH_SHA384 (int)

MHASH_SHA512 (int)

MHASH_SNEFRU256 (int)

MHASH_TIGER (int)

MHASH_TIGER128 (int)

MHASH_TIGER160 (int)

MHASH_WHIRLPOOL (int)

MHASH_XXH32 (int)

Available as of PHP 8.1.0.

MHASH_XXH64 (int)

Available as of PHP 8.1.0.

MHASH_XXH3 (int)

Available as of PHP 8.1.0.

MHASH_XXH128 (int)

Available as of PHP 8.1.0.

来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。

资料来源与适用范围

资料来源
PHP Documentation Group
适用范围
请按文中版本与环境说明核对
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。