note 110978 added to language.namespaces.importing

From: Date: Wed, 02 Jan 2013 05:13:15 +0000
Subject: note 110978 added to language.namespaces.importing
Groups: php.notes 
Request: Send a blank email to php-notes+get-192729@lists.php.net to get a copy of this message
You are allowed to "use" the same resource multiple times as long as it is imported under a different alias at each invocation. For example: <?php use Lend; use Lend\l1; use Lend\l1 as l3; use Lend\l2; use Lend\l1\Keller; use Lend\l1\Keller as Stellar; use Lend\l1\Keller as Zellar; use Lend\l2\Keller as Dellar; ... ?> In the above example, "Keller", "Stellar", and "Zellar" are all references to "\Lend\l1\Keller", as are "Lend\l1\Keller", "l1\Keller", and "l3\Keller". ---- Server IP: 69.147.83.199 Probable Submitter: 67.162.103.71 ---- Manual Page -- http://php.net/manual/en/language.namespaces.importing.php Edit -- https://master.php.net/note/edit/110978 Del: integrated -- https://master.php.net/note/delete/110978/integrated Del: useless -- https://master.php.net/note/delete/110978/useless Del: bad code -- https://master.php.net/note/delete/110978/bad+code Del: spam -- https://master.php.net/note/delete/110978/spam Del: non-english -- https://master.php.net/note/delete/110978/non-english Del: in docs -- https://master.php.net/note/delete/110978/in+docs Del: other reasons-- https://master.php.net/note/delete/110978 Reject -- https://master.php.net/note/reject/110978 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#192729) next »