#19565 [NEW]: line comment interprets ?>
| From: | su-php at bossi dot com | Date: | Mon, 23 Sep 2002 23:39:27 +0000 |
| Subject: | #19565 [NEW]: line comment interprets ?> | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-20149@lists.php.net to get a copy of this message | ||
From: su-php@bossi.com
Operating system: Win 2K
PHP version: 4.2.1
PHP Bug Type: Scripting Engine problem
Bug description: line comment interprets ?>
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 bug report at http://bugs.php.net/?id=19565&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19565&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19565&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19565&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19565&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19565&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19565&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19565&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19565&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19565&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19565&r=globals