PHP ezmlm_hash() 函数

PHP 教程 · 2019-01-26 16:41:33

定义和用法

ezmlm_hash() 函数用于在 MySQL 数据库中保存 EZMLM 邮件列表的哈希值。

该函数接收一个 Email 地址参数,返回一个整数哈希值。

语法


int ezmlm_hash ( string $addr )


参数 描述
addr 要进行哈希算法的电子邮件地址。

实例 1

计算邮件地址的哈希值:

实例

<?php $user = "someone@example.com"; $hash = ezmlm_hash($user); echo "$user 的哈希值为: $hash."; ?>

点击查看所有 PHP 教程 文章: https://www.codercto.com/courses/l/5.html

查看所有标签

Is Parallel Programming Hard, And, If So, What Can You Do About

Is Parallel Programming Hard, And, If So, What Can You Do About

Paul E. McKenney

The purpose of this book is to help you understand how to program shared-memory parallel machines without risking your sanity.1 By describing the algorithms and designs that have worked well in the pa......一起来看看 《Is Parallel Programming Hard, And, If So, What Can You Do About 》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具