[php-src] Issue #8354: include 'file.php' removes a new line in the web page source code formatting

From: Date: Tue, 12 Apr 2022 18:29:31 +0000
Subject: [php-src] Issue #8354: include 'file.php' removes a new line in the web page source code formatting
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-240906@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8354 Author: usernameatwill ### Description The following code: include.php: <?php echo "<p>Hello world.</p>" ?> index.php: ``` <html> <body> <?php include 'include.php'; ?> </body> </html> ``` Resulted in this output: ``` <html> <body> <p>Hello world.</p> </body> </html> ``` But I expected this output instead: ``` <html> <body> <p>Hello world.</p> </body> </html> ``` ### PHP Version PHP Version 7.4.28 ### Operating System Debian stable

« previous php.bugs (#240906) next »