Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52464 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5184 invoked from network); 19 May 2011 16:00:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 May 2011 16:00:30 -0000 Authentication-Results: pb1.pair.com header.from=dukeofgaming@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=dukeofgaming@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: dukeofgaming@gmail.com X-Host-Fingerprint: 209.85.160.170 mail-gy0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:44869] helo=mail-gy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7F/A5-04336-C9E35DD4 for ; Thu, 19 May 2011 12:00:29 -0400 Received: by gyb11 with SMTP id 11so1104061gyb.29 for ; Thu, 19 May 2011 09:00:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=U4M/EJZZFMeb75ATFz1DAv03OrbAoC0gc4ElGT9YsrE=; b=oVyesAwNgi3sN48L5TXXR7rlfqxiMAFr0Qq4Zcy3vCQFchxRcFguIMEqVqJAw/Nvrh ppBx8GKhGLbV2PmipKzJLOuOCv1efFVRH898MPMEEmPmzuRImFenfyWevHs0k1snHAgw HpJqRjUQLmh9VhQXygD7fLSdBuCGBha21g+l0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=lOdacjAAeHlvbNmL8+D6fl37hs9XN5acHPRHeVVlnPtoshzy7gkVF7k5gptqbBrlsL 56c8Per0uaHONqIWxCV1yYMukH73dZWBrZmDnSTN8Ah0i687C3osQCQhwgGoPKRDKh1V tOKu0mWb7a7x73UuO8bTH9VEBwXlvgmE89BxU= Received: by 10.101.2.1 with SMTP id e1mr1990745ani.18.1305820823100; Thu, 19 May 2011 09:00:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.101.187.2 with HTTP; Thu, 19 May 2011 09:00:03 -0700 (PDT) In-Reply-To: <4DD538B1.1070205@cubiclesoft.com> References: <49E352FD.6070008@gmail.com> <2dedb8a0904131124u57f2f32ei27083a289f7f18a4@mail.gmail.com> <49E39B3C.2020401@zend.com> <49E47BF2.3090807@gmail.com> <9b3df6a50904140811o6d57a426gd320a822271e19f3@mail.gmail.com> <49E4CE2D.7010402@zend.com> <3B1B513E-2712-40C4-AC20-4A21EB039629@roshambo.org> <0D1369A8-0154-4E34-9069-27AB267AE06F@roshambo.org> <4DD464C2.4060407@lerdorf.com> <4DD47AEA.1080306@sugarcrm.com> <4DD538B1.1070205@cubiclesoft.com> Date: Thu, 19 May 2011 11:00:03 -0500 Message-ID: To: Thomas Hruska Cc: PHP Internals Content-Type: multipart/alternative; boundary=001636c594ff4d1d8104a3a31a61 Subject: Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6? From: dukeofgaming@gmail.com (dukeofgaming) --001636c594ff4d1d8104a3a31a61 Content-Type: text/plain; charset=ISO-8859-1 @Michael Those are interesting ideas, I think you can register by yourself on the wiki, so you can add the RFC. OTOH, and again, I must say I really think the echo shortcut should be regarded as a separate issue, and now that there was some consensus we shouldn't deviate from the topic. In the end I think it is going to be as bad to have short open tags turned off by default. Hosting services still meddle with the php.ini and some even let you make your own customizations to it (or at least to a subset of it). But again, can we first agree on the echo shortcut feature to be decoupled from short tags?. No agreements === no progress. BTW, what is your open source project? @Thomas I agree on dropping <% for good, I personally don't know any project that uses it and don't think there is currently any point to them anymore. Also, I do use 'wrote: > On 5/19/2011 12:23 AM, Arvids Godjuks wrote: > >> It's essentially the same what I said - move it out of stort_tags and >> make it "On" permanently. >> >> As I remember the decision to remove short_tags was made together with >> register_globals, magic_quotes and other legacy stuff. I can be that I >> remember wrongly, but really do people really use<% ? >> > > Would be **really** nice if ' also detected (i.e. ' aid readability.) > > The ' used: Internal corporate servers, personal machines, and millions upon > millions of websites. The results and financial costs of cleaning up the > upgrade fallout of removing the ' > Comparing short tags to magic_quotes/register_globals is apples to oranges. > The two are so vastly different and not in the same class. The latter is a > failed security measure. The former is a syntactic sugary convenience. > Every PHP userland developer I know understands the risks associated with > magic_quotes and register_globals but, at the same time, they use the ' short tag extensively wherever possible. > > Or, perhaps more simply put: If you remove the "syntactic sugary > convenience" of the ' dropping by shortly after the release of PHP 6 and they will be incredibly > unhappy. But you just go ahead and remove the ' You'll be adding it back into PHP 6.0.1. > > The ONLY reason anyone types ' isn't guaranteed to work everywhere. And that rule really only applies to > open source software and certain web hosts, which is a very small segment of > the total PHP market share. It would probably be fine if you removed the > _option_ itself but merged ' anyone who uses anything but ' anyone if '<% ' support is dropped (but I could be wrong about that). > > The important part of this discussion is making sure convenient > functionality doesn't just vanish for stupid reasons. I recognize there > will be breakage regardless because it is a new major version, but looking > ahead one extra byte isn't going to kill you. > > -- > Thomas Hruska > CubicleSoft President > > Barebones CMS is a high-performance, open source content management system > for web developers operating in a team environment. > > An open source CubicleSoft initiative. > Your choice of a MIT or LGPL license. > > http://barebonescms.com/ > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --001636c594ff4d1d8104a3a31a61--