[drupal-devel] no ?> needed at the end of modules
Larry Garfield
larry at garfieldtech.com
Sun Aug 21 18:02:55 UTC 2005
On Sunday 21 August 2005 08:14 am, Khalid B wrote:
> Here is the quote for those who did not click through
>
> + Note: The closing tag of a PHP block at the end of a file is
> optional, and in some cases + not using it is helpful when using
> output buffering and include() or require().
Can someone explain how it's helpful with output buffering and include()?
Since with output buffering headers aren't sent until later anyway, it should
make extra whitespace irrelevant, and therefore negate the need to leave off
the ?> in order to permit sloppy whitespacing.
--
Larry Garfield AIM: LOLG42
larry at garfieldtech.com ICQ: 6817012
"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an idea,
which an individual may exclusively possess as long as he keeps it to
himself; but the moment it is divulged, it forces itself into the possession
of every one, and the receiver cannot dispossess himself of it." -- Thomas
Jefferson
More information about the drupal-devel
mailing list