#19565 [Bgs]: line comment interprets ?>

From: Date: Tue, 24 Sep 2002 15:52:08 +0000
Subject: #19565 [Bgs]: line comment interprets ?>
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20206@lists.php.net to get a copy of this message
ID: 19565 User updated by: su-php@bossi.com Reported By: su-php@bossi.com Status: Bogus Bug Type: Scripting Engine problem Operating System: Win 2K PHP Version: 4.2.1 New Comment: Ok, so it is defined in the manual. However this is not intuitive behaviour..... Previous Comments: ------------------------------------------------------------------------ [2002-09-23 19:00:23] sniper@php.net Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php ------------------------------------------------------------------------ [2002-09-23 18:59:52] sniper@php.net Sorry, but the bug system is not the appropriate forum for asking support questions. Your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php Thank you for your interest in PHP. ------------------------------------------------------------------------ [2002-09-23 18:39:27] su-php@bossi.com A single line comment still interprets the ?> character sequence. --------------------------------- <? // some text // the next line is OK, block comment /* <input name="<?= $ip_name ?>"> */ // the next line is the problem // <input name="<?= $ip_name ?>"> // all done ?> --------------------------------- The above snippet will show the following on the web page, even though NOTHING should show: "> // all done ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19565&edit=1

« previous php.bugs (#20206) next »