PHP 4.0 Bug #6652 Updated: include() require() add trailing CRLF

From: Date: Fri, 09 Mar 2001 01:14:53 +0000
Subject: PHP 4.0 Bug #6652 Updated: include() require() add trailing CRLF
Groups: php.dev 
Request: Send a blank email to php-dev+get-48346@lists.php.net to get a copy of this message
ID: 6652 Updated by: sniper Reported By: kevin@henrikson.com Status: Feedback Bug Type: *Function Specific Assigned To: Comments: I can not reproduce this one either. Are you sure that the include.php has got only one line in it which isn't terminated with newline? --Jani Previous Comments: --------------------------------------------------------------------------- [2001-01-13 17:31:19] cynic@php.net sorry, it should have been ... after the include()d / requre()d text OR at the end of ... --------------------------------------------------------------------------- [2001-01-13 13:11:50] cynic@php.net hm... unable to reproduce it on RH6.2 with 4.0.4 does it happen only with include() and require()? does the appended newline appear after the include()d / requre()d text at the end of the whole resulting document? what's the auto_prepend_file directive set to? --------------------------------------------------------------------------- [2001-01-13 12:52:56] kevin@henrikson.com Yes, We are now running 4.0.4 It has the same result. -Kevin --------------------------------------------------------------------------- [2001-01-12 21:29:03] cynic@php.net have you by any chance updated your PHP since 4.0.2? does it still happen? --------------------------------------------------------------------------- [2000-09-17 02:14:47] kevin@henrikson.com Start include.php START<?include('/web/file.inc')?>END End include.php Start file.inc: This is some text End file.inc Niether file has a trailing new line. Remember to do a view source to see this because the browser will not render a new line. --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=6652&edit=2

« previous php.dev (#48346) next »