In PHP, what is an underlying reason of placing either boolean or null before identical comparison operator?
false === $value;
null === $value;
It seems to me that it is same as saying
$value === false;
Is it just a personal preference or there is a concrete reason why people do this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…