Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59698 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29660 invoked from network); 11 Apr 2012 01:50:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Apr 2012 01:50:35 -0000 Authentication-Results: pb1.pair.com smtp.mail=tom@punkave.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tom@punkave.com; 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:60293] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 72/F8-18401-963E48F4 for ; Tue, 10 Apr 2012 21:50:34 -0400 Received: by yenl5 with SMTP id l5so296219yen.29 for ; Tue, 10 Apr 2012 18:50:30 -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=dmMzUV1MleRh0ZhNEzDlbgaI94F9INGoMUKg3ecra64=; b=MgXi+6edfh7MH8YHNS9dtOI+hQjkpWz71DXT9qzYwQzd6D4miKhbBVoUSllh8x1ZEF DNPc1+K/OpnZy4lCVfPg6yvKL5Emu4gryqWZmHGLuduH0x0bWzEg5eVHN7gQRQK91AMS hy9q+uTg5JwTsd5rUig1esivEWslLK2fo6NQm84kL3XhQexSc5MvR+DRDqcJT3LxRMLG nT1uOR0YbcpLRc7LCaW22Sy/uG9mtuDV+HSFOCzRE54MYzEuPJ72K4ah/Rf61f/qPZWr kk5639kGI/vwZ5GsI/bhL7J1AM3hXUD95Xi9bbtVemHkpFs+BfSD3DEFt94FN5OkbEL9 G7vQ== MIME-Version: 1.0 Received: by 10.236.184.229 with SMTP id s65mr10835585yhm.102.1334109030210; Tue, 10 Apr 2012 18:50:30 -0700 (PDT) Received: by 10.100.35.16 with HTTP; Tue, 10 Apr 2012 18:50:30 -0700 (PDT) In-Reply-To: References: Date: Tue, 10 Apr 2012 21:50:30 -0400 Message-ID: To: PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQkXGde0DGzagTZqDAc0dan53U1/wiLf4LoJG+4XDt7DM8RV2c2S8Jci3WaEeldadbID1KgM Subject: Re: [PHP-DEV] UPDATED RFC version 1.1: source files without opening wrote: > Tom, > > Much better, though I'm still very troubled by allowing non-pure PHP code= to > be mixed-in with pure PHP (by means of includes).=A0 The problem I have w= ith > this, as a developer, is that this means I can't really trust that what I > will get from a "pure PHP" script will actually be pure PHP, because > non-pure scripts lower in the stack might mix-in HTML code that would the= n > get passed up through the stack.=A0 These really shouldn't be mixed anywa= y, so > I'm just not seeing any value in not keeping this separation consistent. The approach you suggest would make it impossible to load an existing library of perfectly good classes from a newer framework. I don't know anyone who would be able to get work done under those circumstances (: It would lead to almost no adoption of the new feature. Whereas if we make this feature easy to adopt, and strict within the files it does apply to, then over time we would see more and more .phpp and less and less .php. Mission accomplished. Sometimes a realistic compromise is the long term way to get to a better place. Think through what will likely happen in the real world under various proposals, and not just what would be most pure (: --=20 Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com