Re: [RFC lite] implement import of functions in namespace
| From: | Stanislav Malyshev | Date: | Thu, 22 Jan 2009 15:56:52 +0000 |
| Subject: | Re: [RFC lite] implement import of functions in namespace | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42783@lists.php.net to get a copy of this message | ||
Hi!
I like conformity. If my voice counts, I would be happy to accept this as a BC. If necessary, all for "class" to be implied until V6 or V5.4But "use" doesn't import classes, it imports names. The name doesn't have to be class at all.
and mark it as an E_STRICT or E_DEPRECATED ("use Foo\Bar" to include a class is deprecated, use "use class Foo\Bar" instead) sort of thing. This allows current code to run. Tells the alpha testers there code is in need of an upgrade, and gives them time to do so.-- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com