Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59556 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95194 invoked from network); 9 Apr 2012 21:06:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Apr 2012 21:06:16 -0000 Authentication-Results: pb1.pair.com header.from=kris.craig@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kris.craig@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.54 as permitted sender) X-PHP-List-Original-Sender: kris.craig@gmail.com X-Host-Fingerprint: 74.125.82.54 mail-wg0-f54.google.com Received: from [74.125.82.54] ([74.125.82.54:54904] helo=mail-wg0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F6/6D-34074-74F438F4 for ; Mon, 09 Apr 2012 17:06:16 -0400 Received: by wgbdq13 with SMTP id dq13so3600303wgb.11 for ; Mon, 09 Apr 2012 14:06:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=uIQUfjIbogRvyINeiW0hb+6mIYrIqqjqAg7HowGlxlQ=; b=wxTiKysYV8T7sWsmtZAuzK2lZ3lbxOltrjrzP8PABGPmHH2LMO6O2yA1iLi9RnwMWT 43wqgI+laf0fPDXeqSvu4pEWHGPZ/5khK5jSTWzWNo5ZVx4zqg+xkTkanrU3Yr87g//I VaWwFK90XLb8AstcTbdRmsUxGzNDTxJ2rGU1IRLt+aZTZcZj6Eeuy0de3o3MkhVcC2Ia O3rEicxDdClou5+HfJoh95/hsYTMuRv/m4ZzceyNaFZPwkjkZIDEEgRfAh6BLqH+l2lH Cvt/5s4TZEbV+nC4EbpterXfVxT1RZMNOqwOlHYdS4CsLYXHkgM1SBeaC3S8UJNy2YYx x6bw== MIME-Version: 1.0 Received: by 10.180.95.197 with SMTP id dm5mr972934wib.20.1334005573376; Mon, 09 Apr 2012 14:06:13 -0700 (PDT) Received: by 10.223.79.67 with HTTP; Mon, 9 Apr 2012 14:06:13 -0700 (PDT) In-Reply-To: <4F834D82.4030601@developersdesk.com> References: <-5877502932356715576@unknownmsgid> <-3647345967307864634@unknownmsgid> <4F831FAE.2030208@ralphschindler.com> <4775322189440202047@unknownmsgid> <4F833682.2000301@ralphschindler.com> <4F833AB0.2060306@sugarcrm.com> <4F8340E6.90005@sugarcrm.com> <4F834D82.4030601@developersdesk.com> Date: Mon, 9 Apr 2012 14:06:13 -0700 Message-ID: To: Rick WIdmer Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=f46d04447f475458ea04bd4560ec Subject: Re: [PHP-DEV] RFC: source files without opening tag From: kris.craig@gmail.com (Kris Craig) --f46d04447f475458ea04bd4560ec Content-Type: text/plain; charset=ISO-8859-1 On Mon, Apr 9, 2012 at 1:58 PM, Rick WIdmer wrote: > On 4/9/2012 2:41 PM, Kris Craig wrote: > >> >>> Honestly, I would suggest just getting rid of "Option 1" altogether. It >> would end up over-complicating this to such a degree that any usefulness >> it >> might serve would be considerably diminished. >> >> As for embedded HTML, if you allow the ?> tag in these .phpp files, then >> that pretty much negates the entire purpose of having them to begin with. >> Essentially, you'd just be changing it so that, instead of defaulting to >> "?>" when no tag is present, it defaults to"> value in that as a developer. >> >> A developer should *not* be including in a .phpp file classes that contain >> >> HTML within the ?> tag, period. If they need to include something that >> has >> that, they should do it in a regular .php file. An "HTML-less" PHP file >> needs to be exactly that; no direct HTML allowed. Otherwise, the RFC is >> completely and utterly pointless IMHO. >> >> >> I think this would be awesome for PHP 6, but I'll have to vote against it >> if you settle on using "Option 1" and/or allow ?> content to be >> embedded/included in .phpp files. If we differentiate based solely on the >> file extension and keep ?> tags out of it, then I'll definitely support >> it! >> > > > > Please forget about file extensions. PHP should not consider file > extensions. The only reason .php files are executed by PHP is because the > web browser is configured to pass that extension to PHP rather than handle > it internally. > > > I sincerely hope that any suggestion to eliminate the ability to use PHP > as a template engine will be met with a veto by the core developers, or > maybe even another suggestion by the trademark owner of PHP that he will > not allow the PHP name to be used on such a language. That's a bit harsh, don't you think? I mean, it seems a little premature to be talking about bringing forth IP litigation to stop an RFC that's still being drafted. --Kris --f46d04447f475458ea04bd4560ec--