Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46739 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87902 invoked from network); 14 Jan 2010 21:42:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jan 2010 21:42:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=php-php-dev@m.gmane.org; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=news@ger.gmane.org; sender-id=pass Received-SPF: pass (pb1.pair.com: domain m.gmane.org designates 80.91.229.12 as permitted sender) X-PHP-List-Original-Sender: php-php-dev@m.gmane.org X-Host-Fingerprint: 80.91.229.12 lo.gmane.org Linux 2.6 Received: from [80.91.229.12] ([80.91.229.12:55500] helo=lo.gmane.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C0/B5-56067-DDF8F4B4 for ; Thu, 14 Jan 2010 16:42:53 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NVXSq-0007MQ-4Y for internals@lists.php.net; Thu, 14 Jan 2010 22:42:48 +0100 Received: from 200.56.172.118 ([200.56.172.118]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Jan 2010 22:42:48 +0100 Received: from geissert by 200.56.172.118 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Jan 2010 22:42:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Followup-To: gmane.comp.php.devel Date: Thu, 14 Jan 2010 15:42:30 -0600 Lines: 25 Message-ID: References: <4B4D2883.5040703@lerdorf.com> <4B4DFF46.7060908@lerdorf.com> <4B4F87AA.2090608@lerdorf.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Gmane-NNTP-Posting-Host: 200.56.172.118 Sender: news Subject: Re: [PHP-DEV] Throwing an E_DEPRECATED for short_open_tag From: geissert@debian.org (Raphael Geissert) Rasmus Lerdorf wrote: > Raphael Geissert wrote: >> I'm still looking for a way to warn about the use of open_short_tag not >> being explicitly enabled on the PERDIR level. Otherwise the only thing I >> see would make applications change would be when the default is Off and >> they break. > > But why do you want them to change? Short tags are convenient and if > the app doesn't have to worry about run happily with short tags enabled. Because it is just not about the application but the whole system. With the apache filter SAPI enabling short_open_tag is really a no-op. As for the other SAPIs it mostly depends on what kind of files are used and whether an extension such as htscanner is at hand or not. If that's not available, having to change the settings for every application is a mess. By making it a runtime-only option they would always work. Cheers, -- Raphael Geissert - Debian Developer www.debian.org - get.debian.net