[drupal-devel] no ?> needed at the end of modules

Karoly Negyesi karoly at negyesi.net
Fri Aug 19 18:45:02 UTC 2005


On Fri, 19 Aug 2005 20:37:36 +0200, Morbus Iff <morbus at disobey.com> wrote:

>> Can anyone (Goba?) confirm or not confirm that ?> is unnecessary at the  
>> end of included PHP files (like Drupal modules)?
>
> I prefer that it remains, regardless whether it is needed or not. PHP  
> coding everywhere, for any application, needs to have both the <? and  
> ?>. Having PHP developers come to Drupal with an admonition to not close  
> their tags is dirty, anti-learning, and case-scenario-ish.

But you do not deny that it solves the whitespace issue. I do not think  
code style should win over a problem, but... the list will decide.



More information about the drupal-devel mailing list