Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42938 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20965 invoked from network); 5 Feb 2009 16:32:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2009 16:32:30 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 83.243.58.133 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 83.243.58.133 mailout1.netbeat.de Linux 2.6 Received: from [83.243.58.133] ([83.243.58.133:39733] helo=mailout1.netbeat.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7D/35-24530-C941B894 for ; Thu, 05 Feb 2009 11:32:29 -0500 Received: (qmail 21472 invoked by uid 89); 5 Feb 2009 16:44:28 -0000 Received: from unknown (HELO ?192.168.1.103?) (johannes%schlueters.de@93.104.114.3) by mailout1.netbeat.de with ESMTPA; 5 Feb 2009 16:44:28 -0000 To: David =?ISO-8859-1?Q?Z=FClke?= Cc: Lukas Kahwe Smith , rrichards@php.net, php-dev List In-Reply-To: <298CA3D0-60B7-4CFD-A2D3-E39D52ECDD46@bitextender.com> References: <5EC76153-898F-49C2-BDF1-C227578DB874@pooteeweet.org> <298CA3D0-60B7-4CFD-A2D3-E39D52ECDD46@bitextender.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 05 Feb 2009 17:32:23 +0100 Message-ID: <1233851543.8601.24.camel@goldfinger> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] towards the next 5.3 release From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) 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. johannes