ID: 37704 Updated by: [EMAIL PROTECTED] Reported By: php at bouchery dot com -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Windows XP PHP Version: 5.1.4 New Comment:
This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Fix #41281 - include comment about newline being absorbed by "end of php block". Previous Comments: ------------------------------------------------------------------------ [2006-06-06 09:14:34] [EMAIL PROTECTED] es, at http://www.php.net/language.basic-syntax.instruction-separation However, it's *not* mentioned on the basic-syntax.phpmode page where the open/close tags are defined; this seems a little illogical, so I'm re-opening this as a documentation problem. ------------------------------------------------------------------------ [2006-06-05 19:21:13] php at bouchery dot com Ok. Is it writen in the documentation ? ------------------------------------------------------------------------ [2006-06-05 19:09:27] [EMAIL PROTECTED] This is a feature and changing this would break tons of existing applications. ------------------------------------------------------------------------ [2006-06-05 18:40:12] php at bouchery dot com Description: ------------ After php closing tag, carriage returns are deleted. If I add some text after the closing tag, it's OK. It happen only if the carriage return is place just after the closing tag. Reproduce code: --------------- <?php echo 'Line 1' ?> <?php echo 'Line 2' ?> Expected result: ---------------- Line 1 Line 2 Actual result: -------------- Line 1Line 2 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37704&edit=1
