Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45557 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13237 invoked from network); 10 Sep 2009 19:21:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Sep 2009 19:21:22 -0000 Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain l-i-e.com designates 67.139.134.202 as permitted sender) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:4553] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 60/97-04465-0B159AA4 for ; Thu, 10 Sep 2009 15:21:21 -0400 Received: (qmail 7837 invoked by uid 98); 10 Sep 2009 19:21:21 -0000 Received: from localhost by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-2.05 (clamdscan: 0.88.7/9791. Clear:RC:1(127.0.0.1):. Processed in 0.067008 secs); 10 Sep 2009 19:21:21 -0000 Received: from localhost (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 10 Sep 2009 19:21:21 -0000 Received: from webmail (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Thu, 10 Sep 2009 14:21:21 -0500 (CDT) Message-ID: <52981.173.1252610481.squirrel@www.l-i-e.com> In-Reply-To: <698DE66518E7CA45812BD18E807866CE034153BA@us-ex1.zend.net> References: <20090904081640.GA28685@joeysmith.com> <753B9AED-C850-4EBA-A828-93A2542F81A2@macvicar.net> <20090904083457.GC28685@joeysmith.com> <698DE66518E7CA45812BD18E807866CE034153BA@us-ex1.zend.net> Date: Thu, 10 Sep 2009 14:21:21 -0500 (CDT) To: "Andi Gutmans" Cc: "Joey Smith" , internals@lists.php.net User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: RE: [PHP-DEV] shebang skipping in 5.3.0 From: ceo@l-i-e.com ("Richard Lynch") On Fri, September 4, 2009 10:51 pm, Andi Gutmans wrote: > Shebang is for command line scripts (php-cli). It does not make sense > to > support it for Web server scripts. It just adds unnecessary > code/complexity to that code base. Removing the support from php-cgi > was > really a remnant of the old days when cli and cgi were the same SAPI. > I think we are better off this way. At the risk of being ridiculed... I have, in the past, had a script that worked both as a web page and as a CGI (now CLI) script. Granted, it's pretty trivial to just do an include in one or the other, but I actually used the feature of #! being removed in mod_php SAPI, once upon a time. It may even still be in some legacy code out there for me. -- Some people ask for gifts here. I just want you to buy an Indie CD for yourself: http://cdbaby.com/search/from/lynch