Re: Namespaces
| From: | Thorsten Suckow-Homberg | Date: | Mon, 19 Sep 2005 21:08:31 +0000 |
| Subject: | Re: Namespaces | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19090@lists.php.net to get a copy of this message | ||
> Do namespaces require a class repository functionality at all?
Well, in this case I see "class repository" more in the meaning of a
repository of files that use the namespace functionality, each file holds
one class, each one of them bound to the file-extension ".php"
> My understanding is that PHP runs straight through a script (and through
> included files - inline), except when calling files with __autoload (which
> is why it takes a performance hit?).
No exception here when calling __autoload(); you could see _autoload() as a
functionality-wrapper for include/require, adding a little bit more logic to
it.
Best regards
Thorsten Suckow-Homberg