PHP is_link() 函数
PHP 教程
· 2019-01-25 10:41:44
定义和用法
The is_link() 函数检查指定的文件是否是一个连接。
如果文件是一个连接,该函数返回 TRUE。
语法
is_link(file)
| 参数 | 描述 |
|---|---|
| file | 必需。规定要检查的文件。 |
提示和注释
注释:该函数的结果会被缓存。请使用 clearstatcache() 来清除缓存。
实例
<?php
$link = "images";
if(is_link($link))
{
echo ("$link is a link");
}
else
{
echo ("$link is not a link");
}
?>
上面的代码将输出:
images is not a link
点击查看所有 PHP 教程 文章: https://www.codercto.com/courses/l/5.html
Language Implementation Patterns
Terence Parr / Pragmatic Bookshelf / 2010-1-10 / USD 34.95
Knowing how to create domain-specific languages (DSLs) can give you a huge productivity boost. Instead of writing code in a general-purpose programming language, you can first build a custom language ......一起来看看 《Language Implementation Patterns》 这本书的介绍吧!
JS 压缩/解压工具
在线压缩/解压 JS 代码
Base64 编码/解码
Base64 编码/解码