Home > Backend Development > PHP Tutorial > 这句代码啥意思

这句代码啥意思

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-23 14:06:35
Original
915 people have browsed it

$timeline && $timeline -= date('Z')
Copy after login


解释一下2


回复讨论(解决方案)

等价于
if($timeline){
   $timeline -= date('Z');
}

等价于
if($timeline){
   $timeline -= date('Z');
}

这么简洁的写法!

Related labels:
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