ID: 21765 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Output Control Operating System: RedHat 7.3, current updates PHP Version: 4.3.0 New Comment:
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 Previous Comments: ------------------------------------------------------------------------ [2003-01-20 03:07:25] [EMAIL PROTECTED] Try the following at a shell prompt: % cat <<EOF | php ===== <?php //echo '?>'; ?> ===== EOF The output will be: ===== '; ?> ===== It looks like the parser is picking up the adjacent '?' and '>' characters inside the single quotes in the echo statement after they've been commented out using '//'. I'm willing to bet 10-to-1 this is not the correct or desired behavior. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21765&edit=1
