There are a couple methods:
<?php
echo "<? Test ?>";
// or
echo htmlspecialchars("<? Test ?>");
?>
If you are echoing it, it would display as "html" which means it won't show up on the page, and since it isn't closed i .e. <?> (having both LT and GT) text from the middle can go missing, as it is assuming it is a parameter.
If it is outside a php statement:
<?php
my_function();
echo "yay";
other_function();
?>
<? This is in between ?>
If it still doesn't work post some code and I can help you.