in teoria se non erro in php come in c
if(0)
{
}
else
{
}

processa l'else, ovvero 0 è preso come falso