How can short-open tags in PHP scripts impact compatibility and security?

Short-open tags in PHP scripts can impact compatibility because not all servers may have short-open tags enabled by default. It can also pose security risks as it can lead to code execution issues if the server is not configured to interpret short-open tags. To ensure compatibility and security, it is recommended to use the full `<?php` opening tag instead of short-open tags.

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