> 
> 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.

Jared 

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

Reply via email to