<?php $a=3; $b=7; if($a > $b) { print "a는 b보다 크다"; } elseif($a < $b) { print "a는 b보다 작다"; } else { print "a와 b는 같다"; } ?>