Date: 09/25/98
- Next message: Bug Database: "[PHP-DEV] Bug #784 Updated: stat() bug introduced in 3.0.4?"
- Previous message: Joel Caesar: "[PHP-DEV] Re: Bug #780 Updated: Failure to compile basic_functions.c on SGI IRIX"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 788
Updated by: zeev
Reported By: mavpion <email protected>
Status: Closed
Bug Type: Performance problem
Assigned To:
Comments:
Anything outside PHP code blocks is considered as raw HTML,
and is sent as-is, untouched by the language engine. PHP
makes no distinction between whitespace and text, and that's
why your tab, or series of spaces, is considered an HTML
block which triggers the sending of the HTTP header. This
behavior will not change in PHP 3.0.
In PHP 3.1, there'll be an optional switch to buffer all
output, and only send the HTTP header after the entire
file is parsed, so you'd be able to add in header information,
such as HTTP cookies, even after you output HTML. Version
3.1 is still way off though.
Full Bug description available at: http://ca.php.net/bugs.php3?id=788
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: Bug Database: "[PHP-DEV] Bug #784 Updated: stat() bug introduced in 3.0.4?"
- Previous message: Joel Caesar: "[PHP-DEV] Re: Bug #780 Updated: Failure to compile basic_functions.c on SGI IRIX"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

