I have a very simple question. In PHP,
if ('abc' == 0){
//true
}
if ('abc' == 1){
//false
}
I know that this page tell us that it is supposed to be like that. But, I find it wierd. In addition,
if ('abc' == true){
//true
}
if ('abc' == false){
//false
}
What is the logic behind theses two conversions?