PHP filter_id() 函数
PHP 教程
· 2019-01-25 17:57:45
定义和用法
filter_id() 函数返回指定过滤器的 ID 号。
如果成功则返回过滤器的 ID 号,如果过滤器不存在则返回 NULL。
语法
filter_id(filter_name)
| 参数 | 描述 |
|---|---|
| filter_name | 必需。规定被获取 ID 号的过滤器。 必须是过滤器名称(不是过滤器 ID 名)。请使用 filter_list() 函数来获取所有被支持的过滤器的名称。 |
实例
<?php
echo(filter_id("validate_email"));
?>
代码的输出如下所示:
274
点击查看所有 PHP 教程 文章: https://codercto.com/courses/l/5.html
Inside Larry's and Sergey's Brain
Richard Brandt / Portfolio / 17 Sep 2009 / USD 24.95
You’ve used their products. You’ve heard about their skyrocketing wealth and “don’t be evil” business motto. But how much do you really know about Google’s founders, Larry Page and Sergey Brin? Inside......一起来看看 《Inside Larry's and Sergey's Brain》 这本书的介绍吧!