#25987 [Bgs]: php and xml tag confusion

From: Date: Sat, 01 Nov 2003 10:04:47 +0000
Subject: #25987 [Bgs]: php and xml tag confusion
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-49803@lists.php.net to get a copy of this message
ID: 25987 Updated by: sniper@php.net Reported By: tkwright_233 at hotmail dot com Status: Bogus Bug Type: Scripting Engine problem Operating System: * PHP Version: * New Comment: Because it's special? Now please don't add anymore comments into this beaten up report. Previous Comments: ------------------------------------------------------------------------ [2003-10-31 15:33:36] tkwright_233 at hotmail dot com I get what you mean. So how come the php engene recognizes '<?' from '<?='? I know it can, otherwise '<?$a_declared_variable?>' would cause an error (comparing to '<?=$a_declared_variable?>'). ------------------------------------------------------------------------ [2003-10-30 15:44:15] helly@php.net Becasue the first two characters are the same? ------------------------------------------------------------------------ [2003-10-30 15:39:15] tkwright_233 at hotmail dot com So why can't it recognize '<?' from '<?xml' ------------------------------------------------------------------------ [2003-10-30 14:41:38] tkwright_233 at hotmail dot com I have checked the manual, front-to-back, even memorized it. I heve checked the bugs very throughly, I am very 'good friends' with the 'how to report a bug' page. but still have found nothing on the topic. adding to the previous argument, the php engene recognizes '<?' from '<?=', or else '<?$a_declared_variable?>' would cause an error. ------------------------------------------------------------------------ [2003-10-26 15:24:32] gschlossnagle@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 It does recognize the difference, if you disable short_tags, which you should for exactly this reason. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/25987 -- Edit this bug report at http://bugs.php.net/?id=25987&edit=1

« previous php.bugs (#49803) next »