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 - XSLTI 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 haveincompatibilities 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
smime.p7s
Description: S/MIME cryptographic signature