Hi,

First time I've seen code without closing tag is when I've read about Zend
Framework and bellow is what they say about it.

"For files that contain only PHP code, the closing tag ("?>") is never
permitted. It is not required by PHP, and omitting it prevents the
accidental injection of trailing whitespace into the response. "

Regards,
Michal Sokolowski

2008/9/23 Martin Zvarík <[EMAIL PROTECTED]>

> Hi,
> I have seen some projects where people start with opening tag <?php but
> they DON'T close it with ?>
> This is especially the case of CONFIG.php files...
>
> 1) What's the reason of that?
>
> 2) What if you would not close any 100% PHP files?
>
> 3) What's the reason of making an empty space after ?>
> I've also seen this in some projects.
>
>
> Thanks for ideas,
> Martin
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Reply via email to