Why is it recommended to avoid using short tags like <? ?> in PHP code?

Using short tags like <? ?> can cause compatibility issues with XML declarations, and they may not be enabled by default in all PHP installations. It is recommended to use the full <?php ?> tags to ensure maximum compatibility and portability of your code.

&lt;?php
// Code goes here
?&gt;