Re: [RFC] Importing namespaced functions

From: Date: Tue, 23 Jul 2013 21:15:30 +0000
Subject: Re: [RFC] Importing namespaced functions
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-68289@lists.php.net to get a copy of this message
Hi! > But actually I don't see: Why is "use" not enough? As far as I can see your > example, why it would introduce a BC, doesn't really match to original Consider this: use a\b\c as foo; foo(); Now it would resolve to global function foo(). If use were changed to apply to functions, it would resolve to function \a\b\c() instead. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227

« previous php.internals (#68289) next »