Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59479 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13557 invoked from network); 8 Apr 2012 22:20:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Apr 2012 22:20:25 -0000 Authentication-Results: pb1.pair.com header.from=tom@punkave.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tom@punkave.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain punkave.com designates 209.85.213.170 as permitted sender) X-PHP-List-Original-Sender: tom@punkave.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:42771] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7D/39-56433-82F028F4 for ; Sun, 08 Apr 2012 18:20:24 -0400 Received: by yenl5 with SMTP id l5so1912739yen.29 for ; Sun, 08 Apr 2012 15:20:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding:x-gm-message-state; bh=/sJA13uccBt5vRwYkP+qjMP7E2yF7J5CfdKcF/4dB80=; b=eEC3NkORTT8tzzmqseRORTVwr4YeOAbPMapnB11yx52cI6dgLVtef07ptN73VIQJ2s 2o3Q3gDJNrwPLoD0ic5g3Mw6cp8rI4HnHOcicP8u0mVA+S/McszbgUPNImqOvVt+c8hb 3qW592bT7/xt/+EZCk0ITqvb1VkM2mKlQ+vyLOwk1lcS/XQjHs7r/qygzP9rOiryDrc5 TgsAFrziFOUkAJs/FV3Owkb5qbSCYVzNvEUWd831fCgvsuUvxde7ueugVXKGh5CWOKZl e9P+kJYfNkNAj2Q+q/AF7PM34TZvr6IUPz5qbBBt7KYolDI52eEsyJz6gxO83tPD2Xka P2QA== MIME-Version: 1.0 Received: by 10.236.78.2 with SMTP id f2mr4128812yhe.118.1333923621035; Sun, 08 Apr 2012 15:20:21 -0700 (PDT) Received: by 10.100.35.16 with HTTP; Sun, 8 Apr 2012 15:20:20 -0700 (PDT) In-Reply-To: References: Date: Sun, 8 Apr 2012 18:20:20 -0400 Message-ID: To: PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQn9bEYwMNHce1ipmxtEOQ3Jucl4ui7NyxcF7L3rSFw1lYDPSbIf0Fq7CHHkcl7UwONNTFgG Subject: Re: [PHP-DEV] RFC: source files without opening tag From: tom@punkave.com (Tom Boutell) Moriyoshi was kidding, as near as I can tell (: To take it at face value though, the *cough* April 1st *cough* proposal of Moriyoshi calls for the complete abolition of the feature with no backwards compatibility with existing code that uses PHP as a template language... including most popular frameworks that sensibly obey a separation between class files and template files but still use PHP rather than a dedicated templating language for templates. I don't think that's realistic (and neither did the author it appears). Since PHP's usability as a template language may conceivably be improved by other proposals, it is undesirable as well even if you don't currently find PHP to be a suitable template language. Please read my proposal over carefully as it does address the obvious issues that make Moriyoshi's proposal possibly less than serious in intent (: I would oppose a php.ini flag for this as that gives us two incompatible versions of the current version of the language to worry about and makes the feature effectively unusable in reusable code. This approach has created problems before. On Sun, Apr 8, 2012 at 5:55 PM, Yasuo Ohgaki wrote: > Hi, > > There is RFC that is written by Moriyoshi. > It's not listed in RFC page, though. > > https://wiki.php.net/rfc/nophptags > > I think these should be merged. > > Regards, > > -- > Yasuo Ohgaki > yohgaki@ohgaki.net > > > > 2012/4/9 Yasuo Ohgaki : >> Hi, >> >> Moriyoshi has created same entry on 4/1, but >> it seems it was deleted =A0already. >> >> Anyway, he had a patch for it. >> >> https://gist.github.com/2266652 >> >> As I mentioned in other thread, we should better to have >> a switch to disable embed mode for security reasons. >> >> Regards, >> >> -- >> Yasuo Ohgaki >> yohgaki@ohgaki.net >> >> >> >> 2012/4/9 Tom Boutell : >>> I have written an RFC proposing backwards-compatible support for >>> source files without an opening >> >>> https://wiki.php.net/rfc/source_files_without_opening_tag >>> >>> This RFC is not yet listed at https://wiki.php.net/rfc. I am not sure >>> what the requirements are to get it added to the "Under Discussion" >>> session and get the ball rolling formally. Please enlighten and I'll >>> do whatever is required. >>> >>> Thanks! >>> >>> -- >>> Tom Boutell >>> P'unk Avenue >>> 215 755 1330 >>> punkave.com >>> window.punkave.com >>> >>> -- >>> PHP Internals - PHP Runtime Development Mailing List >>> To unsubscribe, visit: http://www.php.net/unsub.php >>> --=20 Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com