Re: [RFC] New .phpp File Type for Pure-Code PHP Scripts

From: Date: Fri, 13 Apr 2012 01:03:12 +0000
Subject: Re: [RFC] New .phpp File Type for Pure-Code PHP Scripts
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-59829@lists.php.net to get a copy of this message
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

« previous php.internals (#59829) next »