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

David Norman deekayen at deekayen.net
Sun Aug 21 16:41:20 UTC 2005


If you run a script and find you forgot to end a line with a semicolon,
the solution is not to leave semicolons off every line of code, it's to
go back and fix your error. If you find you put too much whitespace
after ?>, get rid of it.

Robert Douglass wrote:
> So far the only arguments *against* dropping ?> are aesthetics. It
> doesn't look good to people (because of how hard we've trained
> ourselves to spot things like unclosed brackets
>
> Arguments *for* dropping ?> include a real and tangible
> user-friendliness issue that probably can't be solved any other way
> without hurting performance (I'll still wait and see if anybody does
> benchmarks output buffering).
>
> Am I missing anything?
>




More information about the drupal-devel mailing list