Not sure what you are asking.
The only 3 variations on IF that I know of are:
if($condition)
echo "Only execute this line."
if($condition)
{
echo "Execute each line...";
echo "...until you reach...";
echo "...the closing brace.";
}
if($condition):
echo "Execute each line...";
echo "...until you reach..."
echo "...the endif statement.";
endif;