note 81263 deleted from language.namespaces.rules by philip

From: Date: Fri, 28 Nov 2008 18:55:44 +0000
Subject: note 81263 deleted from language.namespaces.rules by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-147109@lists.php.net to get a copy of this message
Note Submitter: Will ---- Agreed. Dennis is right on with this. To add on, requiring each file that includes a namespace also defeats the purpose of namespacing. It makes more sense if you have a repository for namespaces and just use those. Example: /some/path/to/namespaces/ <?php use Some::Namespace; // Test is withing Namespace. $t = new Test(); // Test2 is not, so it checks includes, etc. $t = new Test2(); ?>

« previous php.notes (#147109) next »