On 23 Sep 2008, at 13:32, Martin Zvarík wrote:
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?

Closing the PHP tag is implicit at the end of a file to avoid extra unwanted white-space.

2) What if you would not close any 100% PHP files?

Nobody would care.

3) What's the reason of making an empty space after ?>
I've also seen this in some projects.

Pass, but without output buffering they may have problems with cookies and other header-setting features.

-Stut

--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to