Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17167 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84874 invoked by uid 1010); 7 Jul 2005 18:20:51 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 84859 invoked from network); 7 Jul 2005 18:20:51 -0000 Received: from unknown (HELO osu1.php.net) (127.0.0.1) by localhost with SMTP; 7 Jul 2005 18:20:51 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:56690] helo=mail.zend.com) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id 2A/7E-59389-2827DC24 for ; Thu, 07 Jul 2005 14:20:51 -0400 Received: (qmail 25262 invoked from network); 7 Jul 2005 18:20:45 -0000 Received: from internal.zend.office (HELO internal) (10.1.1.1) by internal.zend.office with SMTP; 7 Jul 2005 18:20:45 -0000 Date: Thu, 7 Jul 2005 21:20:45 +0300 (IDT) X-X-Sender: frodo@mail.zend.com To: Jessie Hernandez cc: internals@lists.php.net In-Reply-To: <26.00.59389.FF24DC24@pb1.pair.com> Message-ID: References: <84.75.05285.5EA7CC24@pb1.pair.com> <28139bc05070705364cc572f7@mail.gmail.com> <26.00.59389.FF24DC24@pb1.pair.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] YANP (Yet Another Namespace Proposal) From: stas@zend.com (Stanislav Malyshev) 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