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

From: Date: Fri, 13 Apr 2012 00:01:37 +0000
Subject: Re: [RFC] New .phpp File Type for Pure-Code PHP Scripts
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-59813@lists.php.net to get a copy of this message
On Thu, Apr 12, 2012 at 4:44 PM, Arvids Godjuks <arvids.godjuks@gmail.com>wrote: > So ok, i write my code in files without extension, what happens? > > As it was said before, interpreter will not distinguish by the file > extension, ever. It is os dependant and so on. > > Why are you poluting the mailing list with things that are clearly said > will never happen? > You might want to consider using less inflammatory, disrespectful language if you want people to respond favorably to your questions. I.e. accusing someone of "poluting [sic] the mailing list" because they posted an idea you don't like is neither constructive nor necessary. That being said, the .php file extension is not, as far as I know, determined by the operating system. It's determined by the webserver configuration. So if you have two different extensions, each with a separate SAPI handler to differentiate between them, there's no reason why this wouldn't work just fine. After all, the internet didn't explode when we dropped the .php3 extension. ;P

« previous php.internals (#59813) next »