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
Domain-Driven Design
Eric Evans / Addison-Wesley Professional / 2003-8-30 / USD 74.99
"Eric Evans has written a fantastic book on how you can make the design of your software match your mental model of the problem domain you are addressing. "His book is very compatible with XP. It is n......一起来看看 《Domain-Driven Design》 这本书的介绍吧!