Now that was a quick reply
....
That is, one can write=20
if (...) class A extends X {} else class A extends Y {}=20
right now? Seriously

?
Every now and then I'm surprised what weird sort of stuff is allowed in
PHP

, but most probably you don't really want to write this sort of
code in the first place?
The point is that interfaces are nothing you could anything with - that
is, if you have "something" that implements an interface, it has already
been constructed. You never construct instances through an interface
(you would have to choose an implementation, the interface isn't one)...
I just cannot explain it in a better way

It's somewhat similar to
that you cannot make static calls on interfaces.
Maybe someone could explain what they intend to use it for and what they
suspect it to do

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