Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59689 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10816 invoked from network); 10 Apr 2012 23:59:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Apr 2012 23:59:56 -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:39669] helo=mail-wg0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8D/45-18401-B79C48F4 for ; Tue, 10 Apr 2012 19:59:55 -0400 Received: by wgbdq13 with SMTP id dq13so284828wgb.11 for ; Tue, 10 Apr 2012 16:59:51 -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=/V1BUpzWIaVke3DyZOqTsduUSlOeEfycTbJyXM+ZPzE=; b=FOE7GKSPgEkRtb/OSuRopy7GpEHA7vbiWWsp229ipkxLvEOw/+L3cbIFwAPPT+K80T egUg6gZdwe9pVHYYMXRSmj2OsKVy7FRsTkrotruSRG8UybSsLqqeV1KhXxdF+BKamqno 4tKx+MMdX78B/CNsX6pf9QjeuGBht0CDVMRwP6oCqdEpUPj+wIZ44J773o+CZW4rl29e SNB617+FwbL+MCJ6quowTn/v8UlDEGLt1R05HyV8k6eM6WCAwYwf/RbAFyQ1vzm8P3Xx w+6LszoU0LfYTXNbl3n4Sus+ckBy0iBzi04tUtehEbI4EaqTKLz5zBIQ20XNTMWREUEp l1Yg== MIME-Version: 1.0 Received: by 10.180.91.168 with SMTP id cf8mr11205697wib.0.1334102391438; Tue, 10 Apr 2012 16:59:51 -0700 (PDT) Received: by 10.223.79.67 with HTTP; Tue, 10 Apr 2012 16:59:51 -0700 (PDT) In-Reply-To: References: Date: Tue, 10 Apr 2012 16:59:51 -0700 Message-ID: To: Tom Boutell Cc: PHP Internals Content-Type: multipart/alternative; boundary=f46d0438934722bc0b04bd5bebf2 Subject: Re: [PHP-DEV] UPDATED RFC version 1.1: source files without opening wrote: > Please see: > > https://wiki.php.net/rfc/source_files_without_opening_tag > > After following the discussion I have updated the RFC with the > following major changes: > > * Forbade the use of ?> entirely in "pure PHP" files (without > restricting it at all in other PHP files) > > * Replaced my original new require_path keyword with a second, > optional parameter to the standard include/require family of keywords > > * Replaced an array of options with a bitwise OR of options > > * Changed the proposed filename extension from .phpc (which apparently > is in use somewhere, maybe?) to .phpp ("php pure") > > -- > 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 > > 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). The problem I have with 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 then get passed up through the stack. These really shouldn't be mixed anyway, so I'm just not seeing any value in not keeping this separation consistent. I'd be able to support this if that one remaining problem is fixed. I still would like to see the ability to add a