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.9Removing the type-hint is only a short-term fix, IMHO. A better solutionwould 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
smime.p7s
Description: S/MIME cryptographic signature