note 95098 added to language.namespaces.importing
| From: | ginocochuyt at gmail dot com | Date: | Sun, 13 Dec 2009 17:19:04 +0000 |
| Subject: | note 95098 added to language.namespaces.importing | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-163906@lists.php.net to get a copy of this message | ||
it would be fun if they added * functionality.
example:
-------------------------------------------------------------
namespace foo {
class Bar {
public static function someMethod() {}
}
class Main {
public static function someMethod() {}
}
}
-------------------------------------------------------------
and in another file:
-------------------------------------------------------------
use foo\*;
Bar::someMethod(); // -> foo\Bar::someMethod();
Main::someMethod(); // -> foo\Main::someMethod();
----
Server IP: 69.147.83.197
Probable Submitter: 87.67.190.93
----
Manual Page -- http://www.php.net/manual/en/language.namespaces.importing.php
Edit -- https://master.php.net/note/edit/95098
Del: integrated -- https://master.php.net/note/delete/95098/integrated
Del: useless -- https://master.php.net/note/delete/95098/useless
Del: bad code -- https://master.php.net/note/delete/95098/bad+code
Del: spam -- https://master.php.net/note/delete/95098/spam
Del: non-english -- https://master.php.net/note/delete/95098/non-english
Del: in docs -- https://master.php.net/note/delete/95098/in+docs
Del: other reasons-- https://master.php.net/note/delete/95098
Reject -- https://master.php.net/note/reject/95098
Search -- https://master.php.net/manage/user-notes.php