PHP file_exists() 函数
2016-10-31 23:00:20
•
阅读
打赏
函数原型
/**
* 检查文件或目录是否存在
* @link http://php.net/manual/en/function.file-exists.php
* @param string $filename 文件或目录的路径
* @return bool 如果指定的文件或目录存在则返回 TRUE,否则返回 FALSE。
* @since 4.0
* @since 5.0
*/
function file_exists ($filename) {}
函数示例
<?php
echo file_exists("a.php");
?>
相关推荐
深度学习 -- 损失函数
深度残差网络(Deep Residual Networks (ResNets))
深度学习 -- 激活函数
神经网络训练 -- 调整学习速率
生成对抗网络(GAN)改进与发展
生成对抗网络(GAN)优点与缺点
生成对抗网络(GAN)的训练
生成对抗网络(GAN)基本原理
生成模型与判别模型