mardi 22 mai 2018

why some php if conditions are written like if(1>2)

I have seen in some of the old php programs, if conditions are written like below

if(1>2){
 //something went here..
}

what is the use of these conditions, these type of if conditions will never be true. Please explain

Thanks Sricharan

Aucun commentaire:

Enregistrer un commentaire