原文地址:http://www.phpobject.net/blog/read.php?126
在使用xdebug测试程序性能中发现is_file和file_exists存在细微的差别。如果只是判定文件是够存在,使用is_file可以获取到更好的性能。
收藏到网摘: