Logical operators php true or false

前端 未结 4 1654
旧时难觅i
旧时难觅i 2021-01-21 09:39

As a php neewbie , I try to read a lot of other people´s code in order to learn. Today I came across a line like this :

if ( stripos($post_to_check->post_cont         


        
4条回答
  •  旧时难觅i
    2021-01-21 10:04

    The difference between !==false and ==true is the difference between an identical/not-identical and equal/non-equal comparison in PHP.

    Please see the Comparison Operators in the PHP Manual what the difference between Identical and Equal is.

提交回复
热议问题