Re: YANP (Yet Another Namespace Proposal)
| From: | Stanislav Malyshev | Date: | Thu, 07 Jul 2005 18:20:45 +0000 |
| Subject: | Re: YANP (Yet Another Namespace Proposal) | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-17167@lists.php.net to get a copy of this message | ||
JH>>// 1) "my_namespace:class1" is added to the import hashtable.
JH>>// 2) The opcode for
JH>>"require_once('/usr/local/php-classes/my_namespace/class1.php')" is
JH>>generated.
JH>>// 3) "my_namespace:class2" is added to the import hashtable.
JH>>// 4) The opcode for
JH>>"require_once('/usr/local/php-classes/my_namespace/class2.php')" is
JH>>generated.
JH>>?>
This means, of course, that such file could not be used with bytecode
caches, because between runs contents of the directory can change.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115