#35359 [NEW]: lost newline/whitespace after php closing tag
| From: | junggle at centrum dot cz | Date: | Thu, 24 Nov 2005 05:25:58 +0000 |
| Subject: | #35359 [NEW]: lost newline/whitespace after php closing tag | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-88814@lists.php.net to get a copy of this message | ||
From: junggle at centrum dot cz
Operating system: linux
PHP version: 4.4.1
PHP Bug Type: Scripting Engine problem
Bug description: lost newline/whitespace after php closing tag
Description:
------------
the php parser eats new line character and/or any whitespace characters
after closing tag ( ?> )
tested on linux php4.3.10
tested on win32 php5.0.4
sorry if this has been documented, i searched but didn't find
anything related.
-jj
Reproduce code:
---------------
line <?php?>
line
Expected result:
----------------
line
line
Actual result:
--------------
line line
--
Edit bug report at http://bugs.php.net/?id=35359&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35359&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35359&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35359&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=35359&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35359&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35359&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35359&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35359&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35359&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35359&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35359&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35359&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35359&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35359&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35359&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35359&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35359&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35359&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35359&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35359&r=mysqlcfg