note 86420 added to language.namespaces.using

From: Date: Fri, 17 Oct 2008 18:20:26 +0000
Subject: note 86420 added to language.namespaces.using
Groups: php.notes 
Request: Send a blank email to php-notes+get-145459@lists.php.net to get a copy of this message
PHP 5.3.0alpha2 (cli) <?php // namespace MyProject::DB; require 'db.php'; use MyProject::DB; // fine; same as DB:: use MyProject::DB::Connection as DBC; // fine use MyProject::DB as HM; // fine use HM::Connection as DBC2; // class call ends with FATAL!!! $x = new DBC(); // fine $y = new HM::Connection(); // fine $z = new DBC2(); // Fatal error: Class 'HM::Connection' not found ?> ---- Server IP: 217.73.17.12 Probable Submitter: 77.234.226.200 ---- Manual Page -- http://www.php.net/manual/en/language.namespaces.using.php Edit -- https://master.php.net/note/edit/86420 Del: integrated -- https://master.php.net/note/delete/86420/integrated Del: useless -- https://master.php.net/note/delete/86420/useless Del: bad code -- https://master.php.net/note/delete/86420/bad+code Del: spam -- https://master.php.net/note/delete/86420/spam Del: non-english -- https://master.php.net/note/delete/86420/non-english Del: in docs -- https://master.php.net/note/delete/86420/in+docs Del: other reasons-- https://master.php.net/note/delete/86420 Reject -- https://master.php.net/note/reject/86420 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#145459) next »