What does === do in PHP

后端 未结 8 1727
天涯浪人
天涯浪人 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:06

    Minimally, === is faster than == because theres no automagic casting/coersion going on, but its so minimal its hardly worth mentioning. (of course, I just mentioned it...)

提交回复
热议问题