How can tabs be unintentionally added to PHP output, and how can this be resolved?

Tabs can be unintentionally added to PHP output if there are spaces or tabs before the opening `<?php` tag in the PHP file. To resolve this issue, ensure that there are no spaces or tabs before the opening `<?php` tag in the PHP file.

&lt;?php
// PHP code here
?&gt;