Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36312 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31808 invoked from network); 22 Mar 2008 02:18:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Mar 2008 02:18:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=agrobinet@bestplace.biz; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=agrobinet@bestplace.biz; sender-id=pass Received-SPF: pass (pb1.pair.com: domain bestplace.biz designates 208.67.83.208 as permitted sender) X-PHP-List-Original-Sender: agrobinet@bestplace.biz X-Host-Fingerprint: 208.67.83.208 host.bestplace.biz Linux 2.5 (sometimes 2.4) (4) Received: from [208.67.83.208] ([208.67.83.208:39645] helo=host.bestplace.biz) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EF/BA-26785-F7C64E74 for ; Fri, 21 Mar 2008 21:18:40 -0500 Received: from 201-213-87-222.net.prima.net.ar ([201.213.87.222] helo=bestplacerob) by host.bestplace.biz with esmtpa (Exim 4.67) (envelope-from ) id 1JctJP-0006rA-CR; Fri, 21 Mar 2008 22:18:23 -0400 To: "'Pierre Joye'" , "'Rasmus Lerdorf'" Cc: "'Elizabeth M Smith'" , References: <47E3F714.60302@zend.com> <47E410C6.80605@sci.fi> <47E4146A.8010409@zend.com> <47E41765.4080007@zend.com> <111239762.20080321212310@marcus-boerger.de> <47E41C9F.4040105@zend.com> <935033306.20080321223836@marcus-boerger.de> <68.F2.26785.55E24E74@pb1.pair.com> <47E450B1.9040604@lerdorf.com> In-Reply-To: Date: Fri, 21 Mar 2008 22:18:31 -0400 Message-ID: <00a901c88bc3$080a5e80$181f1b80$@biz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AciLs88ZeOFQz2FHRc6NL/TtGOk7MQADREyw Content-Language: en-us Subject: RE: [PHP-DEV] short_open_tag From: agrobinet@bestplace.biz (=?iso-8859-1?Q?Andr=E9s_Robinet?=) > -----Original Message----- > From: Pierre Joye [mailto:pierre.php@gmail.com] > Sent: Friday, March 21, 2008 8:30 PM > To: Rasmus Lerdorf > Cc: Elizabeth M Smith; internals@lists.php.net > Subject: Re: [PHP-DEV] short_open_tag >=20 > Hi Rasmus, >=20 > On Sat, Mar 22, 2008 at 1:20 AM, Rasmus Lerdorf = wrote: >=20 > > Will actually do about the same thing in the sense that the = top-level > > script can run with short_open_tag turned off and the main.php = script > > can run with short_open_tag enabled. The first version requires = that > > you configure your Apache to enable short_open_tag for the = templates/ > > directory, while the second lets you do it from the PHP level. The > > first suffers from being extremely slow and it isn't obvious that > > scripts in templates/ operate under different rules. The second is = much > > faster and it is more obvious what is happening. >=20 > as a conclusion from my point of view, I don't think it's possible to > bring anything new to this dicsussion: >=20 > -1 for the patch (revert) > +1 to actually deprecate short tags > +1 to remove them in HEAD >=20 > That's not asked but let clear this problem once and for all. >=20 > Cheers, > -- > Pierre > http://blog.thepimp.net | http://www.libgd.org Hi, I'm new to the internals, but I've been reading you for months... now, = let me ask, Are there any security issues with short tags? Is it really harder for the interpreter to have them enabled? Is the short tags parsing code too hard to maintain? Do they create a performance hit? Do they create bad habits, why? Does the patch for ini_set create a performance issue? What ACTUAL situation makes you hate short tags? What code are you using = to do what such that you find short tags being evil? Isn't it that you just don't like them, or don't like reading them in = PHP code? I personally hate , but I like and use , it's just much = more readable and concise than . What if the parser would ignore =