Title: ?&gt; file endings missing
Last modified: August 19, 2016

---

# ?> file endings missing

 *  [still giving](https://wordpress.org/support/users/nonegiven/)
 * (@nonegiven)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/file-endings-missing/)
 * I am not a php coder, excuse me for having to ask.
 * We know that often problems arise (or used to arise) from white space at the 
   end of the .php files that make up WP where carriage returns must be.
 * I notice that not all .php files have the usual ending ?> that I expect, including
   wp-config.php.
 * Is this intentional … is this critical … is this a rule … are they ended somewhere
   else, or should all .php files not end with a ?>
 * Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/file-endings-missing/#post-1836694)
 * > Is this intentional
 * Yes. The closing `?>` isn’t necessary and omitting it sidesteps the issues that
   arise from white space at the end of files.
 *  Thread Starter [still giving](https://wordpress.org/support/users/nonegiven/)
 * (@nonegiven)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/file-endings-missing/#post-1836982)
 * Thanks.
 * Is this universal then? Should all have no ending … or are there files required
   to close the code?
 * Appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘?> file endings missing’ is closed to new replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [still giving](https://wordpress.org/support/users/nonegiven/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/file-endings-missing/#post-1836982)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
