Re: towards the next 5.3 release

From: Date: Thu, 05 Feb 2009 16:33:43 +0000
Subject: Re: towards the next 5.3 release
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-42939@lists.php.net to get a copy of this message
On 05.02.2009, at 17:32, 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.
+1

Attachment: [application/pkcs7-signature] smime.p7s
« previous php.internals (#42939) next »