=和==的区别?
phpcn_u251
phpcn_u251 2016-12-24 13:08:28
0
2
942

$a=$b和$a==$b 有什么区别

phpcn_u251
phpcn_u251

reply all(2)
数据分析师

What is the difference between

= and ==? -PHP Chinese website Q&A-What is the difference between = and ==? -PHP Chinese website Q&A

Please watch and learn.

阿神

左边是将变量$b的值赋给$a。右边是判断$a和$b是否相等,返回的是个布尔类型的值。

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template