Re: Interfaces in namespaces
| From: | Stanislav Malyshev | Date: | Thu, 08 Nov 2007 23:27:09 +0000 |
| Subject: | Re: Interfaces in namespaces | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-33065@lists.php.net to get a copy of this message | ||
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