Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59829 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45455 invoked from network); 13 Apr 2012 01:03:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Apr 2012 01:03:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.170 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.214.170 mail-ob0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:59208] helo=mail-ob0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8D/5E-00290-A7B778F4 for ; Thu, 12 Apr 2012 21:03:55 -0400 Received: by obbta17 with SMTP id ta17so2704836obb.29 for ; Thu, 12 Apr 2012 18:03:52 -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; bh=VaQ7d1i9FwNaRyT3aZcODHXGJhUwqFTNUDIdE/NT1i0=; b=rlhYbHduvwRqFaS2kMOPDdDrAjEvBFX0nCYtFUh2ilLA6pqBl+UgKgoMbR6IqfAnLU wfLeKdp9A3eqye8t6JXio7gDzQ2Q3jkk3Bfmvh+W2S6IDtzMWrpz2OYaLIEYifAgjiKp OMEf7Z7Sj1EfHM0tMQT7BseSXEoi/hXdXWMsOI1EHRHGLmvfbx1cN7YMpblRJjVho1xh b024XfZiFu1n/RwSr+zppV8bPm+mqlLVRVKO74S6HgCeWlGDeu2QorP+G8CBMKIx7Dtc eiLTo7a5GK5mUnw7RgIl1GVRRIWp7HSVz9yi5Ivf/+BlsCMCOKR4DgjheB7+NnPeqmNu SxlQ== Received: by 10.182.177.101 with SMTP id cp5mr356912obc.38.1334279032315; Thu, 12 Apr 2012 18:03:52 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.182.226.9 with HTTP; Thu, 12 Apr 2012 18:03:12 -0700 (PDT) In-Reply-To: References: Date: Fri, 13 Apr 2012 10:03:12 +0900 X-Google-Sender-Auth: mLyM8aGJyK-_HsMfH5IDwfMdl10 Message-ID: To: Kris Craig Cc: PHP internals list Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [RFC] New .phpp File Type for Pure-Code PHP Scripts From: yohgaki@ohgaki.net (Yasuo Ohgaki) Hi, If we aren't going to consider saving current code risk, then we could use both new include and file name convention. Introduce application/x-httpd-php-script, then we could AddHandler php5-script .php AddType text/html .php AddType application/x-httpd-php-source .phps AddType application/x-httpd-php-script .ph // .phpp .phpc .phpscript whatever extension here We may need ENV vars for other SAPIs. script/script_once for PHP only script includes. How about this? -- Yasuo Ohgaki yohgaki@ohgaki.net