PHP 4.0 Bug #4484: required files with <? ?> delimiters prints a blank line to browser
| From: | sli at mailsurf dot com | Date: | Wed, 17 May 2000 18:38:26 +0000 |
| Subject: | PHP 4.0 Bug #4484: required files with <? ?> delimiters prints a blank line to browser | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18870@lists.php.net to get a copy of this message | ||
From: sli@mailsurf.com
Operating system: FreeBSD 3.4 RELEASE
PHP version: 4.0 Release Candidate 2
PHP Bug Type: Scripting Engine problem
Bug description: required files with <? ?> delimiters prints a blank line to browser
When requiring a file which starts with <?php and ends
with ?> the scripting engine produces a blank line which
causes an error as soon as you try to output a header after
requiring the file.
If you use the delimiters <SCRIPT LANGUAGE="php"> and
</SCRIPT> no blank line and no header-related error occurs.
The problem occurs even when the required file only
contains the delimiters.
COnfiguration line:
./configure' '--with-apxs=/usr/local/sbin/apxs' '--with-imap'
'--with-zlib' '--with-wddx' '--enable-trans-sid'
'--disable-debug'