Sebastian Bergmann wrote:
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.

If that's the route this is going to go, I'd rather be able to set an anytype hint where the developer could possibly restrict this further with a more specific type if they extend the class.

Rob

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to