Re: RFC: Traits for PHP

From: Date: Tue, 19 Feb 2008 20:42:24 +0000
Subject: Re: RFC: Traits for PHP
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-35609@lists.php.net to get a copy of this message
Hello Lars, we could even go for include here if we wanted to avoid use as much as adding a new keyword. Personally I don't mind using keywords for different stuff as long as it cannot conflict. That is in this case true for both include and use. marcus Tuesday, February 19, 2008, 9:31:29 PM, you wrote: > Hi Stefan, > Am Montag, den 18.02.2008, 20:27 +0100 schrieb php@stefan-marr.de: > [...] >> class ezcReflectionMethod extends ReflectionMethod { >> use ezcReflectionReturnInfo; >> /* ... */ >> } > I'm not sure if the use-keyword is a good idea as namespaces are already > "used". If we use "use" for traits, maybe going back to "import" > for > namespaces would be the way to go. > cu, Lars Best regards, Marcus

« previous php.internals (#35609) next »