Re: namespace separator and whining
| From: | Stanislav Malyshev | Date: | Mon, 27 Oct 2008 16:34:49 +0000 |
| Subject: | Re: namespace separator and whining | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-41465@lists.php.net to get a copy of this message | ||
Hi!
That's the wrong way to do it - it means every time you mention the internal class name without prefixing it with \ you get exhaustive autoloading search and nothing tells you about it but sudden performance drop in your application. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com1) check for namespaced\classname 2) try to autoload namespaced\classname 3) check for internal classname