On Tuesday 14 August 2007, Guilherme Blanco wrote:

> Subject: File Struture
> Comments:
> Namespace do not restrict directories (AFAIK)
> Packages restrict directories (each package have a directory with its
> name, like Zend/Cache/File.php)
>
> Question: What is the behavior of PHP in this situation?
> PHP restricts the directory, just like packages. So,
> Zend/Cache/File.php is the package Zend::Cache and has the class named
> File

Did I miss something?  The [namespace|package] implementation that went in is 
file-based, but not directory based AFAIK.  There's nothing preventing you 
from having multiple files in a single directory that are in totally 
different namespaces.

-- 
Larry Garfield                  AIM: LOLG42
[EMAIL PROTECTED]               ICQ: 6817012

"If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it."  -- Thomas 
Jefferson

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to