关于 IF ELSE 语句的求教解决方案

WBOY
Release: 2016-06-13 13:31:24
Original
723 people have browsed it

关于 IF ELSE 语句的求教
if(file_exists($file) && ((time() - date('U',@filemtime($file))) 1024)){
@file_put_contents('taobaocache/a.txt',1);
}else{
@file_put_contents('taobaocache/b.txt',1);
}
为什么if和else里面的内容都执行呀


------解决方案--------------------

探讨

引用:
引用:
那就说明

PHP code
(file_exists($file) && ((time() - date('U',@filemtime($file))) 1024))

……
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!