Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49011 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57349 invoked from network); 8 Jul 2010 02:26:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jul 2010 02:26:09 -0000 Authentication-Results: pb1.pair.com header.from=shijiang@staff.sina.com.cn; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=shijiang@staff.sina.com.cn; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain staff.sina.com.cn from 61.135.152.204 cause and error) X-PHP-List-Original-Sender: shijiang@staff.sina.com.cn X-Host-Fingerprint: 61.135.152.204 staff-jes1.sina.com.cn Linux 2.4/2.6 Received: from [61.135.152.204] ([61.135.152.204:42320] helo=staff-jes1.sina.com.cn) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 57/33-38013-D37353C4 for ; Wed, 07 Jul 2010 22:26:07 -0400 Received: from sinahp ([10.217.12.94]) by staff-jes1.sina.com.cn (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005)) with ESMTPA id <0L57005WYW3CAX20@staff-jes1.sina.com.cn> for internals@lists.php.net; Thu, 08 Jul 2010 10:26:01 +0800 (CST) Date: Thu, 08 Jul 2010 10:26:03 +0800 To: internals@lists.php.net Message-ID: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-Mailer: Microsoft Outlook Express 6.00.2900.5931 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal References: <1430e929de312057f8a7788560e7c92f.squirrel@www.l-i-e.com> <4C34AA60.7070707@ingres.com> Subject: Single-line comment problem From: shijiang@staff.sina.com.cn (Shijiang) Hi I'm not sure whether it's really a bug. The following sample code will emit a parse error. '; echo 'afafa'; } ?> The parser treate the PHP tag within the commented line as a normal tag .