PostNuke: A Flexible Open Source Content Management System
home | forum | international support | contact us

Support Forum

Start ::  Developers Corner ::  Module Development ::  closing php tags

Moderated by: Support Team

Bottom
closing php tags

  • Link to this postingPosted: 01.05.2008, 09:20
    Profile Homepage
    Jusuff
    rank:
    pnSoftmore pnSoftmore
    registered:
     April 2005
    Status:
    offline
    last visit:
    04.05.08
    Posts:
    96
    Maybe its silly question... but I'm wondering why in .8 core and some new modules all closing PHP tags are removed?

    -----
    Polish PN Team
  • Link to this postingPosted: 01.05.2008, 09:56
    Profile Homepage
    rgasch
    rank:
    Steering Committee Steering Committee
    registered:
     January 2003
    Status:
    offline
    last visit:
    01.05.08
    Posts:
    550
    Because they're not needed and this change eliminates the problem of trailing whitespace after the closing PHP tag. AFAIK this is a valid change according to official PHP standards.

    Greetings
    R
  • Link to this postingPosted: 01.05.2008, 10:21
    Profile Homepage
    Jusuff
    rank:
    pnSoftmore pnSoftmore
    registered:
     April 2005
    Status:
    offline
    last visit:
    04.05.08
    Posts:
    96
    Thanks. Good to know about that.
    Time to remove it from my code icon_smile

    -----
    Polish PN Team

Start ::  Developers Corner ::  Module Development ::  closing php tags

Main Menu

Extensions Database

Documentation

Development

Login





 


 Log in Problems?
 New User? Sign Up!

Donate to PostNuke