Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59741 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82631 invoked from network); 11 Apr 2012 17:48:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Apr 2012 17:48:17 -0000 Authentication-Results: pb1.pair.com header.from=chrisstocktonaz@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=chrisstocktonaz@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.170 as permitted sender) X-PHP-List-Original-Sender: chrisstocktonaz@gmail.com X-Host-Fingerprint: 209.85.210.170 mail-iy0-f170.google.com Received: from [209.85.210.170] ([209.85.210.170:36680] helo=mail-iy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 85/E7-36454-0E3C58F4 for ; Wed, 11 Apr 2012 13:48:16 -0400 Received: by iaeh11 with SMTP id h11so1857281iae.29 for ; Wed, 11 Apr 2012 10:48: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=tYGGxVNBh+e5h/kYKQzSVYw6T6mlkB/106pSyx/zjfA=; b=cefXqBVVg0BmXdBTfbPHGmbYemolfxshxs2Qi0fetu7gMs1a1pnqLt4G9FHjovrwk3 ip5K0dfCF0Jthkv2MeOKQOC9TT9UHaGU+KtyNaAMA5liUDEfxjgS99RnBICWcT8CwmsX JgEB4TZguRQugtlL+j9fM9ePBiCsob3EkEesrWTpy4ADc07XQTSaEMqYBM5lZEafewNx DX3683PAqH1BWQD4fnuiMNy/NqRr+Go7uTgf5WuUvk64Jaeycwoo0Vn2IlNjI57w+N1C ZxAXEje1ZjyM4zaaMG4cwyOYumgbvRpME+BcRVeX8+LPHQeOV67EkYc7fyZR+9Ey4aTc wCKQ== MIME-Version: 1.0 Received: by 10.50.51.163 with SMTP id l3mr6582040igo.3.1334166493797; Wed, 11 Apr 2012 10:48:13 -0700 (PDT) Received: by 10.42.174.9 with HTTP; Wed, 11 Apr 2012 10:48:13 -0700 (PDT) In-Reply-To: References: Date: Wed, 11 Apr 2012 10:48:13 -0700 Message-ID: To: Tom Boutell Cc: PHP Internals Content-Type: text/plain; charset=ISO-8859-1 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") > I have read the RFC and I although from what I gather it seems that .phpp is a recommendation and not a requirement, but I want to make absolutely sure. My only other issue is that we are not really following the guidelines for reserved constants, since "include" is not part of a "include" extension and a actual language construct it feels like it should live inside the reserved PHP_* constants. There may be projects that make use of "INCLUDE_ONCE" as a constant or maybe not, regardless I think it should follow the documented naming guidelines to be safe. -Chris