Re: towards the next 5.3 release
| From: | Sebastian Bergmann | Date: | Wed, 04 Feb 2009 14:16:58 +0000 |
| Subject: | Re: towards the next 5.3 release | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42913@lists.php.net to get a copy of this message | ||
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.
--
Sebastian Bergmann http://sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69