From: frederic dot poeydomenge at free dot fr Operating system: Linux 2.6.6 Debian Sid PHP version: 4.3.4 PHP Bug Type: Scripting Engine problem Bug description: Line feed removed after a php closing tag
Description: ------------ Line feed following a closing tag ?> is not actually reproduced in the output buffer. When a space follows a closing tag, there is no problem, but when it is a line feed character, it seems not to be taken in consideration ? Reproduce code: --------------- <?php $aaa='aaa'; $bbb='bbb'; $ccc='ccc'; ?> <pre> line 1: aaa line 2: bbb line 3: ccc </pre> <pre> line 1: <?php echo $aaa; ?> line 2: <?php echo $bbb; ?> line 3: <?php echo $ccc; ?> </pre> Expected result: ---------------- line 1: aaa line 2: bbb line 3: ccc line 1: aaa line 2: bbb line 3: ccc Actual result: -------------- line 1: aaa line 2: bbb line 3: ccc line 1: aaaline 2: bbbline 3: ccc -- Edit bug report at http://bugs.php.net/?id=28696&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28696&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28696&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28696&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28696&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28696&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28696&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28696&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28696&r=support Expected behavior: http://bugs.php.net/fix.php?id=28696&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28696&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28696&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28696&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28696&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28696&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28696&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28696&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28696&r=float
