Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59821 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32961 invoked from network); 13 Apr 2012 00:26:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Apr 2012 00:26:19 -0000 Authentication-Results: pb1.pair.com header.from=arvids.godjuks@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=arvids.godjuks@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: arvids.godjuks@gmail.com X-Host-Fingerprint: 209.85.210.170 mail-iy0-f170.google.com Received: from [209.85.210.170] ([209.85.210.170:46469] helo=mail-iy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F8/AB-00290-AA2778F4 for ; Thu, 12 Apr 2012 20:26:19 -0400 Received: by iaeh11 with SMTP id h11so4176539iae.29 for ; Thu, 12 Apr 2012 17:26:16 -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=kjdsc3hn67kdY2dUYq5OumOIB/4vcEOR3/qNQT5FI8I=; b=l96spVSqmWOU7MsZT17bpNilYr0lkkHfFDgDBYg2ddXPycL8lfqvTFuZ1vz8WQgIHn EvI405mbHrqc42igXY6bBVkxwDBly061/+/SoGuMVo9eRn6/RjhA+aRnMeBbz+uiEZzq QLiMZQuoX/acHeHRY4r05qgP3lGqNQ0p6KmNYCyNFrI/KzQNYFzweLcUmy29R4JT/Ncr kyAAFS/oIxOoSxiCXAWY2SlWGHOlxoESrNqGxg3NT/erDqqT7DhIseCthvktuSqmx5oy KzgzgvSD+zP7lM92213uCSNWo8EK91xGQ+FCfLqpd980Qcoa1mf4flex4Ap/U1PbLReG nPxQ== MIME-Version: 1.0 Received: by 10.50.190.167 with SMTP id gr7mr56923igc.8.1334276776152; Thu, 12 Apr 2012 17:26:16 -0700 (PDT) Received: by 10.64.134.233 with HTTP; Thu, 12 Apr 2012 17:26:16 -0700 (PDT) Received: by 10.64.134.233 with HTTP; Thu, 12 Apr 2012 17:26:16 -0700 (PDT) In-Reply-To: References: Date: Fri, 13 Apr 2012 03:26:16 +0300 Message-ID: To: Kris Craig Cc: PHP internals list , Yasuo Ohgaki Content-Type: multipart/alternative; boundary=f46d0447850f464d7804bd848590 Subject: Re: [PHP-DEV] [RFC] New .phpp File Type for Pure-Code PHP Scripts From: arvids.godjuks@gmail.com (Arvids Godjuks) --f46d0447850f464d7804bd848590 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Well, I just don't know how i can appeal to common sence to some people on the list anymore. First the type hinting threads, now this. The world does not work only on one web server and there are different type ls of them out there. I for once use nginx and i configure how to run scripts by locations, not by file types. I just pass the params to fastcgi server thet runs a php binary. And it does not.care about the extension. I can use any extension.l for my code. Yes, i use .php, others use. phtml or other variants. Extensions are just a convension, nothing more. You can give a file any or none extension at all and it will not change a thing.Ok, in windows you will not be able to open the file in a program by double click, but through the open dialog in the app - be my guest. To PHP, fastcgi and the web server it does not matter. It just matters to people so they can distingush between a php file, js file and a css file. 13.04.2012 2:01 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0= =B5=D0=BB=D1=8C "Kris Craig" =D0=BD=D0=B0=D0=BF=D0= =B8=D1=81=D0=B0=D0=BB: > > > On Thu, Apr 12, 2012 at 4:44 PM, Arvids Godjuks 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 languag= e > 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 wh= y > this wouldn't work just fine. After all, the internet didn't explode whe= n > we dropped the .php3 extension. ;P > > --f46d0447850f464d7804bd848590--