why does this evaluate to true

后端 未结 2 1106
暖寄归人
暖寄归人 2021-01-24 18:48

Whey does this evaluate to true?

\';
}else{         


        
2条回答
  •  温柔的废话
    2021-01-24 19:29

    Give this a try: $val2==='error123'

    That will evaluate the value and the type of the variable. More here:

    http://us.php.net/manual/en/language.operators.comparison.php

提交回复
热议问题