I have been working with Wordpress and other CMS and I have noticed that some of the php files do not have a closing ?>.
When I write my own files, I have to include the ?>, otherwise the software crashes. I'm wondering how they make it work, or if there are specific sections of a theme that accept this type of php files. Maybe the closing bracket ?> is embedded in a different file that I haven't seen.
Does anyone has an explanation for this?
If I decide to put the ?> on these files, will the system crash? or I can safely write them with the closing bracket?