note 92057 deleted from language.namespaces.importing by thiago

From: Date: Tue, 07 Jul 2009 12:00:39 +0000
Subject: note 92057 deleted from language.namespaces.importing by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-158005@lists.php.net to get a copy of this message
Note Submitter: CodeHorror ---- Basically the options for using classes from the global namespace in this context are limited to: - importing form the global namespace using 'use' for every one of these classes. - prefixing the global namespace slash for every use of the class. For a common global class such as PDO this would be: use \PDO; use \PDOStatement; use \PDOException; Personally I find this truly and utterly horrible.

« previous php.notes (#158005) next »