RE: [PHP-DEV] Simple Namespace Proposal

From: Date: Sun, 08 Jul 2007 07:47:44 +0000
Subject: RE: [PHP-DEV] Simple Namespace Proposal
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-30610@lists.php.net to get a copy of this message
> Is there a chance to add a PHP function that returns a "fully > qualified" name for a given name (thus letting the engine do > the expansion, which would ensure that correct rules are used)? function namespace_name($name) { return __NAMESPACE__ . "::" . $name; } Thanks. Dmitry. > Kind regards, > > Stefan > > > -- > >e-novative> - We make IT work for you. > > e-novative GmbH - HR: Amtsgericht München HRB 139407 > Sitz: Wolfratshausen - GF: Dipl. Inform. Stefan Priebsch > > http://www.e-novative.de > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.internals (#30610) next »