PHP File Pattern

Code in this post can be obsolete, however, principles and theory may still apply.
// vim: ts=4:sw=4:fdc=4:nu:nospell
 * An Application
 * @author     Ing. Jozef Sakáloš
 * @copyright  (c) 2009, by Ing. Jozef Sakáloš
 * @date       15. Sepember 2009
 * @version    1.0
 * @revision   $Id$
 * @license application.php is licensed under the terms of the Open Source
 * LGPL 3.0 license. Commercial use is permitted to the extent that the 
 * code/component(s) do NOT become part of another Open Source or Commercially
 * licensed development library or toolkit without explicit permission.
 * License details:


// code here

// eof
Follow me:
Latest posts by saki (see all)

2 Responses

  1. Its recommended you write on the final closing PHP ?> tag, for a “well formed” source.
    The Zend Framework is a particular missuse .

  2. 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.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Enter your username and password to log into your account. Don't have an account? Sign up.

Want to collaborate on an upcoming project?