Home > Backend Development > PHP Tutorial > 布尔运算符

布尔运算符

WBOY
Release: 2016-06-23 13:49:48
Original
1183 people have browsed it

,我的问题是布尔运算符为什么和数字结合那几个运行结果如何解释?希望大神能给予答复


回复讨论(解决方案)

0是false 其他都是true
前面加上not 就都反过来了啊

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