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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php