Re: Re: RFC: Traits for PHP

From: Date: Sat, 23 Feb 2008 17:39:34 +0000
Subject: Re: Re: RFC: Traits for PHP
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-35754@lists.php.net to get a copy of this message
Hi,
I came across one piece of information on aliasing that may not be obvious at first and therefore should probably be explicitly stated in the RFC and in the manual when this makes it into the core. Quoting <http://www.iam.unibe.ch/~scg/Archive/Papers/Scha03aTraits.pdf>: "Note that because the body of the aliased method is not changed in any way, so an alias to a recursive method is not recursive." thanks, yes, should have state that explicitly. Will add a note and an example.
Kind Regards Stefan

« previous php.internals (#35754) next »