Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49013 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27209 invoked from network); 8 Jul 2010 19:51:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jul 2010 19:51:08 -0000 X-Host-Fingerprint: 95.31.13.88 xdmitri2.static.corbina.ru Received: from [95.31.13.88] ([95.31.13.88:17512] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 22/A3-09263-A2C263C4 for ; Thu, 08 Jul 2010 15:51:07 -0400 Message-ID: <22.A3.09263.A2C263C4@pb1.pair.com> To: internals@lists.php.net References: <1430e929de312057f8a7788560e7c92f.squirrel@www.l-i-e.com> <4C34AA60.7070707@ingres.com> <41062215-1091-47AA-B431-B33F1823DE2A@macvicar.net> Date: Thu, 8 Jul 2010 23:50:58 +0400 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-Posted-By: 95.31.13.88 Subject: Re: [PHP-DEV] Single-line comment problem From: dmda@yandex.ru ("jvlad") > Parsing ends with ?> regardless if its a comment or not but its not > context sensitive. It can't understand that its within a string. > > - S Not exactly, it's only // comment style does not comment the tag while /* */ does. The following script outputs its 'afafa': '; */ echo 'afafa'; } ?> -j