Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59809 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12871 invoked from network); 12 Apr 2012 23:39:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Apr 2012 23:39:05 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.170 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:51119] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3B/37-00290-897678F4 for ; Thu, 12 Apr 2012 19:39:04 -0400 Received: by yenl5 with SMTP id l5so1617760yen.29 for ; Thu, 12 Apr 2012 16:39:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=JmfcfwBQOU1dddZPA2+4ilqbd5neW3ms5cIBJPu27Dg=; b=f1p+iNiQTWSumcKHRvBZaWr6ynjI9+dHhl2gJN8EpLpFMxX1q5jliVp55xde7y9bh0 AkzNkLtTyKDkeR1Ppws9XZKW53svdTRY5YuJxn2bZcmociZy/8Gmp5gLvd5+MVlZ9yqR uqUom9w+3U4V7M/CedPJNsN46/VIm7rmj0+VRBo7mjFXOpNCoQtGmIUof0ZXeIhaWwBW T1p0lhJW2Eai2YUBH6CVXi4+3YgCWT+L3PXYiUYhpHZE40etEJcsgmrRgiN7c+Iw73Qf FrXlMx3RxWZZdU5Q2I565mF7s8mS/gArLawDzFvHcBJ/7DVTWMPpybdD0dVaWqgqtl5u I9FQ== Received: by 10.60.18.198 with SMTP id y6mr122979oed.38.1334273941460; Thu, 12 Apr 2012 16:39:01 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.182.226.9 with HTTP; Thu, 12 Apr 2012 16:38:21 -0700 (PDT) In-Reply-To: References: Date: Fri, 13 Apr 2012 08:38:21 +0900 X-Google-Sender-Auth: h8uBnZNadTRHacItH_Z-EldoL_g Message-ID: To: Kris Craig Cc: PHP internals list Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] New .phpp File Type for Pure-Code PHP Scripts From: yohgaki@ohgaki.net (Yasuo Ohgaki) Hi, 2012/4/13 Kris Craig : > Per recent discussions, I have drafted an RFC for this. =A0This proposal > offers what I believe to be a more sane and realistic approach to > addressing the question of incorporating a new breed of tag-less PHP > scripts. > > https://wiki.php.net/rfc/phpp This may work for LFI issue for new codes. Few questions. CLI may use .phpp as PHP script always. (i.e. execute w/o A regular .php script cannot be included from a .phpp script. An E_WARNIN= G will be thrown for include and an E_RECOVERABLE_ERROR will be thrown for = require; in both instances, the included file will be ignored. Some people may try to make .phpp handled by web. I cannot tell if this setting is going to be popular, but if it does, isn't it the end of embedded PHP? It might be good if PHP is more tolerant for this usage. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net