Interfaces in namespaces

php.internals

Felipe Nascimento Silva Pena

18 years ago
As classes are resolved at run-time, couldn't resolved interfaces of SPL also? Instead of use the prefix '::'. e,g, namespace foobar; class foo implements SplSubject { } Regards, Felipe.

Stanislav Malyshev

18 years ago
> As classes are resolved at run-time, couldn't resolved interfaces of SPL > also? Instead of use the prefix '::'. > > e,g, > namespace foobar; > class foo implements SplSubject { }
This should work, as far as I understand. Doesn't it?
-- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com