Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42945 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61206 invoked from network); 5 Feb 2009 19:15:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2009 19:15:35 -0000 Authentication-Results: pb1.pair.com header.from=chregu@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=chregu@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 194.50.176.162 as permitted sender) X-PHP-List-Original-Sender: chregu@php.net X-Host-Fingerprint: 194.50.176.162 mail.bitflux.ch Linux 2.5 (sometimes 2.4) (4) Received: from [194.50.176.162] ([194.50.176.162:50690] helo=devel.bitflux.ch) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F9/FC-24530-0DA3B894 for ; Thu, 05 Feb 2009 14:15:32 -0500 Received: from localhost (localhost [127.0.0.1]) by devel.bitflux.ch (Postfix) with ESMTP id EEF5AE76E9; Thu, 5 Feb 2009 20:15:23 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at devel.bitflux.ch Received: from devel.bitflux.ch ([127.0.0.1]) by localhost (devel.bitflux.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8uyKrLsF5AM5; Thu, 5 Feb 2009 20:15:18 +0100 (CET) Received: from [192.168.1.127] (80-218-58-142.dclient.hispeed.ch [80.218.58.142]) by devel.bitflux.ch (Postfix) with ESMTP id 128B8E76E3; Thu, 5 Feb 2009 20:15:18 +0100 (CET) Message-ID: <498B3AC4.9040104@php.net> Date: Thu, 05 Feb 2009 20:15:16 +0100 Reply-To: christian.stocker@liip.ch User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: =?UTF-8?B?Sm9oYW5uZXMgU2NobMO8dGVy?= CC: =?UTF-8?B?RGF2aWQgWsO8bGtl?= , Lukas Kahwe Smith , rrichards@php.net, php-dev List References: <5EC76153-898F-49C2-BDF1-C227578DB874@pooteeweet.org> <298CA3D0-60B7-4CFD-A2D3-E39D52ECDD46@bitextender.com> <1233851543.8601.24.camel@goldfinger> In-Reply-To: <1233851543.8601.24.camel@goldfinger> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] towards the next 5.3 release From: chregu@php.net (Christian Stocker) On 5.2.2009 17:32 Uhr, Johannes Schlüter wrote: > On Wed, 2009-02-04 at 13:12 +0100, David Zülke wrote: >> Am 03.02.2009 um 14:41 schrieb Lukas Kahwe Smith: >> >>> http://bugs.php.net/bug.php?id=47206 - XSLT >> I looked through the CVS logs, could you confirm I understand it right: >> >> The type hint was added in 5.2.6, and will be gone again in 5.2.9, so >> the only PHP releases with DOMDocument type hints there are 5.2.6, >> 5.2.7 and 5.2.8? > > I think independently from what we do in 5.3 we will have > incompatibilities between versions here which can't be worked-around in > userland (I don't consider if (version_compare(...)) { class ... } else > { class ... } a proper workaround) > > So here are three choices: > - The DOMDoument typehint is certainly wrong. > - Adding an interface is lots of additional trouble (user code will > break again, no proper way for users to be 5.2 and 5.3 compatible) > - No typehint, as it is now, #47206 "Expected / to be documented", > incompatible with 5.2.6-5.2.8 but compatible with most other 5.2 > versions > > After reading this thread and some limited private discussion I think > the last option is the best. As one of the maintainer of ext/xsl, here's my +1 on the third option chregu