Home >Backend Development >PHP Tutorial >关于 IF ELSE 语句的求教解决方案

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 10:23:03907browse

关于 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))

……
Statement:
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