[wp-trac] [WordPress Trac] #10633: Omit closing PHP tag at the end of a file when using include() or require()

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 6 08:28:42 UTC 2009


#10633: Omit closing PHP tag at the end of a file when using include() or require()
-------------------------+--------------------------------------------------
 Reporter:  hakre        |       Owner:                
     Type:  enhancement  |      Status:  new           
 Priority:  normal       |   Milestone:  Future Release
Component:  General      |     Version:  2.9           
 Severity:  normal       |    Keywords:  has-patch     
-------------------------+--------------------------------------------------

Comment(by westi):

 I am -1 to this.

 I don't see the need for this except possible on user-editable files.

 Personally, I find this a sign of lazy programming rather than good
 programming practise - code should always be explicit about its intentions
 not implicit.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10633#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list