Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46747 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45106 invoked from network); 15 Jan 2010 15:50:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jan 2010 15:50:42 -0000 Authentication-Results: pb1.pair.com smtp.mail=keisial@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=keisial@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.78.27 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: keisial@gmail.com X-Host-Fingerprint: 74.125.78.27 ey-out-2122.google.com Received: from [74.125.78.27] ([74.125.78.27:16830] helo=ey-out-2122.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 17/41-37310-FCE805B4 for ; Fri, 15 Jan 2010 10:50:40 -0500 Received: by ey-out-2122.google.com with SMTP id d26so263844eyd.39 for ; Fri, 15 Jan 2010 07:50:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=axFeTSvjeoXSWW1m6oe+IzBZD8/Vwlo2B5vsO3YdBbM=; b=jpUtI1g0wqIji3ECVBP4x8wxYO2gUZM1lqYemYH5q5HoThLQrkOlxPbyUR8pWbIKYw Uj0xRznyNL+pDXEefSXc7JtqXdPovODSud/eATjT657uqXKzEYdQ4sDcD+WHX4jso8YN qOfonde7cGPafv3rz3rHB/bVDkUZ7+veUYDRg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=gDk3dnrTtA6MPaV6thk92o1FcmxcNp7DxUtQCEjNpVNZRBxmDX2Fsno+wuSZmUu/A7 2EZj6+EqpfmsnOSu4E9Psa0Pz4XYCtav5HlJmOSVaEzCo1fb7tUF89k866Q2bn74O5Hh bjjd6h7LX93v1VMHvGmwArRNi8RF6OYb3i030= Received: by 10.213.25.79 with SMTP id y15mr1150310ebb.24.1263570636758; Fri, 15 Jan 2010 07:50:36 -0800 (PST) Received: from ?192.168.1.25? (103.Red-88-21-128.staticIP.rima-tde.net [88.21.128.103]) by mx.google.com with ESMTPS id 15sm1508218ewy.4.2010.01.15.07.50.33 (version=SSLv3 cipher=RC4-MD5); Fri, 15 Jan 2010 07:50:34 -0800 (PST) Message-ID: <4B508EC9.7050204@gmail.com> Date: Fri, 15 Jan 2010 16:50:33 +0100 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Raphael Geissert CC: PHP Developers Mailing List References: <4B4D2883.5040703@lerdorf.com> <4B4DFF46.7060908@lerdorf.com> <4B4F87AA.2090608@lerdorf.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Throwing an E_DEPRECATED for short_open_tag From: keisial@gmail.com ("=?ISO-8859-1?Q?=C1ngel_Gonz=E1lez?=") Raphael Geissert wrote: > Rasmus Lerdorf wrote: > >> 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, > What about having a new value? short_open_tag = Warn People who is knowingly wanting to use short tags can enable it. People concerned with portability fix the application. And people which don't bother to change defaults... get warnings. Until an update which disables it for true.