阅读背景:

PHP认为null等于零

来源:互联网 

In php, ($myvariable==0) When $myvariable is zero, the value of the expression is true; when $myvariable is null, the value of this expression is also true. How can I exclude the second case? I mean I want the expression to be true only when $myvariable is zero. Of course I can write When $myvariable is ze




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: