无涯教程-PHP - soundex函数

31 阅读1分钟

soundex - 语法

string soundex ( string $str )

用于计算字符串的Soundex键

Sr.No 参数 & 描述
1

str

它包含有关输入字符串的信息

soundex - 返回值

它以字符串的形式返回Soundex键

soundex - 示例

<?php
   $input="learnfk";
   echo soundex($input);
?>

这将产生以下输出-

T364

参考链接

www.learnfk.com/php/php-fun…