在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
注意:如果将字符串和一个integer类型的值比较。string会转化为number类型(integer类型或者float类型),然后再和integer进行比较。
在进行比较两个数的时候,最好先把这个表中的意思全部理解了。才好。 我曾经就在这个吃过亏。
还有就是,在比较两个value的时候,如果能使用 “===”和“!==”操作符的时候就使用这两个操作符。 以免php自作聪明的进行自动类型转换。 |
2022-08-30
2022-07-30
2022-08-17
2022-11-06
2022-08-18
请发表评论