Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28824 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16017 invoked by uid 1010); 14 Apr 2007 17:22:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 16000 invoked from network); 14 Apr 2007 17:22:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Apr 2007 17:22:30 -0000 Authentication-Results: pb1.pair.com header.from=edin@krug.dk; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=edin@krug.dk; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain krug.dk designates 82.103.137.104 as permitted sender) X-PHP-List-Original-Sender: edin@krug.dk X-Host-Fingerprint: 82.103.137.104 khaled.krug.dk Received: from [82.103.137.104] ([82.103.137.104:43887] helo=khaled.krug.dk) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E4/7A-34376-36801264 for ; Sat, 14 Apr 2007 12:59:16 -0400 In-Reply-To: <30bd80240704140951l565242ddvb0cdc5834f889ada@mail.gmail.com> References: <461E894C.104@zend.com> <37936.216.230.84.67.1176500697.squirrel@www.l-i-e.com> <46209A3F.8040701@mediawave.nl> <4620A3C1.8030701@mediawave.nl> <4620E566.8050300@lerdorf.com> <4620F6B8.9080907@mediawave.nl> <30bd80240704140951l565242ddvb0cdc5834f889ada@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-ID: <8D5EEFDE-2257-436E-8586-BF75A537284A@krug.dk> Cc: "Bart de Boer" , "Rasmus Lerdorf" , "Tijnema !" , "Guilherme Blanco" , ceo@l-i-e.com, "Chad Daelhousen" , "Ron Korving" , internals@lists.php.net Content-Transfer-Encoding: quoted-printable Date: Sat, 14 Apr 2007 19:02:06 +0200 To: =?ISO-8859-1?Q?"Nicolas_A._B=E9rard-Nault"?= X-Mailer: Apple Mail (2.752.2) Subject: Re: [PHP-DEV] dropping asp_tags in HEAD From: edin@krug.dk (Edin Kadribasic) On Apr 14, 2007, at 6:51 PM, Nicolas A. B=E9rard-Nault wrote: > Maybe I'm missing something here, but why should PHP be compliant =20 > with a > standard that absolutely has nothing to do with the language (c.f.: =20= > XML) ? > Isn't it obvious that a file with the extension .php is NOT an XML =20 > file ? It > seems to me the short tags issue is starting to become a bikeshed > argument... > > Again, sorry if I'm missing the point. Say you want PHP to produce XML output in a template like fashion: <%=3D $username %> <%=3D $zip %> Now to me personally this looks very neat and allows for code/=20 presentation separation, in this case presentation being XML output. You cannot do this with short tags enabled because PHP will throw a =20 parse error on line one. So you have two options: enable asp tags and use it as above, or use: syntax. It comes down to taste, and to my eye the version with asp tags looks =20= more readable when you use PHP in this way. Edin