I've seen some PHP statements that go something like
if($variable) {} or
if(function()) {} (if statements that don't compare two variables)
and I know they roughly mean if a function executes or if this variable exists but I can't seem to find any information on how they work specifically. Can anybody shed some light on this?