Re: towards the next 5.3 release

From: Date: Wed, 04 Feb 2009 14:47:54 +0000
Subject: Re: towards the next 5.3 release
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-42917@lists.php.net to get a copy of this message
Am 04.02.2009 um 15:16 schrieb Sebastian Bergmann:
Rob Richards wrote:
The addition in 5.2.6 was a BC break and is fixed in 5.2.9
Removing the type-hint is only a short-term fix, IMHO. A better solution would be to introduce a marker interface that is implemented by the respective classes of the XML extensions involved and use said interface in the type hint.
And then code breaks code *again*. The problem with the previous change, the fix for it and the fix you suggest is that it cannot be handled at runtime using a version check. My class Foo extends XsltProcessor, and it cannot have different method signatures for different PHP versions. Good argument for adding a preprocessor, isn't it? :D - David

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