$thing; $num=2; $tnum=3; $s; $f; if ($num===$tnum) //сравнение echo "ds"; else $s="something"; echo $s;