What does === do in PHP

后端 未结 8 1584
天涯浪人
天涯浪人 2021-01-05 23:25

I have been programming in PHP for a while but I still dont understand the difference between == and ===. I know that = is assignment. And == is equals to. So what is the pu

8条回答
  •  执笔经年
    2021-01-06 00:12

    It's a true equality comparison.

    "" == False for instance is true.

    "" === False is false

提交回复
热议问题