Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60294 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67155 invoked from network); 24 Apr 2012 21:46:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Apr 2012 21:46: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.170 as permitted sender) X-PHP-List-Original-Sender: kris.craig@gmail.com X-Host-Fingerprint: 74.125.82.170 mail-we0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:62440] helo=mail-we0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4D/F1-54790-72F179F4 for ; Tue, 24 Apr 2012 17:46:16 -0400 Received: by werh12 with SMTP id h12so839702wer.29 for ; Tue, 24 Apr 2012 14:46: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=cw/p8cc5Ok6lVxeGFyrjsOuvf1a7CQ+YtY00V3lxIes=; b=0yxDJ5pwr/8MFV13KfWNxJ3oU+0d2/j7FSl5SLT9Jd1uVSZD3FId/HejLgElA6NNe1 PhoMwusFd9P2UYjbUAoeFc8z6g05ZskZ3F6qlLwaNQnHlXY5FqQnSC2Q7Bydsuta7KUd 4ir9s0jdAaVIPkAmAJCzTD3/HZh3tHdPzBb3pBKazbxOESNwjhxrH8Hu9Yyd0G3PSqkH xODmHREidZzgXS0IutiTc1NlLOOcqCLrpMOs8nSfWbwI94qZI+I+2pOk/h+SeYJXk8L5 xMqU//tEWF0G4bJOAyw7ZZxVEtNRBYoDS9Ms6yYSWb1y7sqG6ZFZK5rtxkfo0uKDGsJT /Bhw== MIME-Version: 1.0 Received: by 10.180.79.135 with SMTP id j7mr34649483wix.19.1335303973022; Tue, 24 Apr 2012 14:46:13 -0700 (PDT) Received: by 10.223.96.129 with HTTP; Tue, 24 Apr 2012 14:46:12 -0700 (PDT) In-Reply-To: References: Date: Tue, 24 Apr 2012 14:46:12 -0700 Message-ID: To: Tom Boutell Cc: PHP Internals Content-Type: multipart/alternative; boundary=f46d04428ff4faaab804be73ae19 Subject: Re: [PHP-DEV] [RFC] Pure PHP Scripts (Updated) From: kris.craig@gmail.com (Kris Craig) --f46d04428ff4faaab804be73ae19 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable 2012/4/24 Tom Boutell > That's a good point, it should say the PHP tokenizer, or something to > that effect (folks who spend more time with the internals could say > better what to call it). > Hmm yeah I guess that wording is a bit sloppy, isn't it? I'm not sure what the "proper" terminology would be there. Any suggestions? > > The major difference from his previous version of the RFC is his > addition of the .phpf format, which would allow including a .php file > with in it from a .phpf file, but would not allow or need > any usage of within the .phpf file itself. > Partially correct. That is the only practical difference, but I also added clarifying language based on concerns raised here. For example, I added a section clarifying that the references to a file extension are merely a convention and do not represent a new parsing method based on filename. I also added clarifications on how script inclusion would work vs. direct access via URL on a webserver. > > On Tue, Apr 24, 2012 at 4:14 PM, Arvids Godjuks > wrote: > > As far as I read there is no difference from the previous RFC - it > > says essentially the same. > > > > " The > to, in essence, "switch to PHP mode" and start parsing the data as PHP > code. > > When the ?> tag is reached, the webserver "switches back" and resumes > > parsing it as HTML. If no tags are given, the webserver will parse the > file > > data as HTML code until a > > > I'm I the only one who thinks that this is just plain wrong? I know for= a > > fact that there is no "PHP mode" on the WEB server level. I think I > > understand what it tries to say, but I totally disagree with what is > > written and don't want to guess anything. > > > > 24 =C1=D0=D2=C5=CC=D1 2012 =C7. 22:52 =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC= =D8 Kris Craig >=CE=C1=D0=C9=D3=C1=CC: > > > >> Hi all, > >> > >> I finally found some time today to update the RFC based on discussions > >> here. Please have a look and let me know if I missed anything or if > >> there's anything else that needs clarifying: > >> > >> https://wiki.php.net/rfc/phpp > >> > >> > >> I also want to know if this is sufficient to satisfy some of the > concerns > >> that have been raised about being able to implement this into existing > >> frameworks that use a more "tangled" architecture. > >> > >> Thanks! =3D) > >> > >> --Kris > >> > > > > -- > 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 > > --f46d04428ff4faaab804be73ae19--