search

Home  >  Q&A  >  body text

&与&&的区别在哪

&与&&的区别在哪,通俗怎么讲

phpcn_u1134phpcn_u11342942 days ago1282

reply all(2)I'll reply

  • 数据分析师

    数据分析师2017-10-01 00:48:50

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

    Take a look around and learn.

    reply
    0
  • 大家讲道理

    大家讲道理2017-03-13 23:32:15

    &是位运算符。&&是布尔逻辑运算符。
    在运行上,&两边的条件都要判断(不管前面的是ture还是false),而&&先判断前面的,若为false,则后面的不再判断。

    reply
    0
  • Cancelreply