Benutzen Sie immer<?php ?>
um Ihren PHP-Code zu markieren, niemale die Kurzform <? ?>.
Die erste Variante funktioniert unabhängig vom Betriebssystem und der
PHP-Konfiguration.
Drupal code styles suggest avoiding the final closing ?>.
They do so as to minimize the chance of content being sent by whitespace (sometimes inserted by FTP clients) after the closing town, which may prevent proper sending of headers.
Does PEAR care either way? Is it OK to avoid the final closing PHP tag?