Hello Jared,

Tuesday, April 5, 2005, 1:58:04 PM, you wrote:

>> 
>> I'd say that all extensions should really follow the 1 prefix 
>> per ext for anything that ends up in the global namespace 
>> (classes, functions. 
>> constants ..) rule. Just as we did in the past with new 
>> procudural extensions.
>> 
>> This has the advantage of:
>> - limiting the number of namespace clashes with user code
>> - makes it clear what extensions may/are colliding and what 
>> steps need to be taken to fix the situation
>> 

> I'd prefered explicit importing of classes.

> <?php
> spl_import('File');     
?>>

> To bring in the File class (and any dependancies) into the global namespace, 
> at run time.

That'd be to slow because that looks like doing it all the time.
If only we could manage to have a nice way to only need to do that
once...

Best regards,
 Marcus                            mailto:[EMAIL PROTECTED]

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

Reply via email to