Re: PHP Enclosing Tags? Do You Close Your PHP Declarations?
| From: | mike | Date: | Fri, 30 Jan 2009 21:01:46 +0000 |
| Subject: | Re: PHP Enclosing Tags? Do You Close Your PHP Declarations? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-287452@lists.php.net to get a copy of this message | ||
On Fri, Jan 30, 2009 at 12:50 PM, Edmund Hertle
<edmund.hertle@student.kit.edu> wrote:
> What is the problem in session handling? I think I came never across this
> issue altough I do close my tags...
>
I think it depends if output buffering is on or not. If it is not
enabled, these linebreaks/etc. will be outputted before the session
header stuff is outputted.
That is a very interesting point though. Leaving it open allows for
human error (from time to time developers leave linebreaks in the
files ...)