jeudi 29 avril 2021

What does the PHP interpreter do at if("test")

I've a small question behind a bug I found in a customers code. There is a PHP if-statement, which is true at every time. There was something like

if("test"){
}

What does the PHP interpreter exactly do? Like if "test" can be stored in the RAM or if "test" == "test"? Thank you for you help :)

Aucun commentaire:

Enregistrer un commentaire