Re: PHP Enclosing Tags? Do You Close Your PHP Declarations?

From: Date: Mon, 02 Feb 2009 16:09:16 +0000
Subject: Re: PHP Enclosing Tags? Do You Close Your PHP Declarations?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-287539@lists.php.net to get a copy of this message
On Mon, 2 Feb 2009 08:23:49 +0100, Yannick Mortier <mvmortier@googlemail.com> wrote: > 2009/2/2 Alpár Török <torokalpar@gmail.com>: >> >> >> 2009/2/1 Yannick Mortier <mvmortier@googlemail.com> >>> >>> I once read that this is even recommended by the PHP developers... Has >>> anyone got a quote for me about this? >>> >> >> I know thw ZF codinf style includes it as a must. See here : >> >> > > http://framework.zend.com/manual/en/coding-standard.php-file-formatting.html#coding-standard.php-file-formatting.general The Drupal coding standards say to exclude the closing ?> on files for the same reason: It avoids a host of problems with whitespace handling and is just one less thing to have to deal with. http://drupal.org/coding-standards --Larry Garfield

« previous php.general (#287539) next »