I agree great idea. Would really help to simplify benchmarking code also.

On Mon, Aug 13, 2012 at 4:16 PM, Nils Adermann <nader...@naderman.de> wrote:

> On 08/12/2012 08:17 PM, Anthony Ferrara wrote:
> > Thoughts?
> Yes, please. I think this would be a great simplification for all kinds
> of extensibility / plugin mechanisms implemented in various PHP projects.
>
> Typically these either end up with the boilerplate you described or try
> to come up with some kind of hack (e.g. dynamic code generation) to
> circumvent the problem of having to explicitly define parent classes if
> one wants to dynamically decorate objects multiple times while maintaing
> interfaces.
>
> Cheers,
> Nils
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Reply via email to