Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46678 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9014 invoked from network); 13 Jan 2010 10:48:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jan 2010 10:48:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:43850] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 81/27-00773-515AD4B4 for ; Wed, 13 Jan 2010 05:48:54 -0500 Received: from localhost (xdebug.org [127.0.0.1]) by xdebug.org (Postfix) with ESMTPS id 621EFDE13D; Wed, 13 Jan 2010 10:48:50 +0000 (UTC) Date: Wed, 13 Jan 2010 10:48:50 +0000 (GMT) X-X-Sender: derick@kossu.derickrethans.nl To: Raphael Geissert cc: internals@lists.php.net In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Throwing an E_DEPRECATED for short_open_tag From: derick@php.net (Derick Rethans) On Tue, 12 Jan 2010, Raphael Geissert wrote: > As mentioned on my other post, at Debian we are planning to include > 5.3 in Squeeze. Given that the development and production php.ini > files both turn short_open_tag by default but many applications > shipped by Debian itself still require it to be enabled, we have > decided to _enable_ it again on the .ini files. Would it be possible to force short_open_tag to a specific value for those applications alone? Perhaps through an .htaccess file? That way, Debian keeps the "PHP default" but still allows those apps to work. > However, we would like to contribute in the quest to make applications > stop using short_open_tag. To do so, we have decided to throw an > E_DEPRECATED warning when an application makes use of short_open_tag. > The current implementation can be found at [1]. > > How does this sound? Like Rasmus said, we've no intention of deprecating it. It's just that apps requiring short open tags are not really portable (because they don't work when short_open_tag is set to 0). with kind regards, Derick -- http://derickrethans.nl | http://xdebug.org twitter: @derickr