Home  >  Article  >  Backend Development  >  这句代码啥意思解决方案

这句代码啥意思解决方案

WBOY
WBOYOriginal
2016-06-13 12:47:58811browse

这句代码啥意思

<br />
$timeline && $timeline -= date('Z')<br />


解释一下2


------解决方案--------------------
等价于
if($timeline){
   $timeline -= date('Z');
}
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