PHP File Pattern

This is an archived post from the ExtJS era — the code may be obsolete, but the principles often still apply.

Code in this post can be obsolete, however, principles and theory may still apply.

2 comments

  1. Mike van LammerenDecember 15, 2008archive
    You might want to leave off the final closing PHP ?> tag, as recommended by Zend for the Zend Framework. It is not required by PHP, and in certain circumstances, accidental whitespace after the closing tag can cause problems with http headers.
  2. Fausto AstudilloAugust 20, 2010archive
    Its recommended you write on the final closing PHP ?> tag, for a "well formed" source. The Zend Framework is a particular missuse .

Comments are closed on archived posts.