That's why I thnk the extension is superior to all other solutions, because
it doesn't require code generation in userland. Also, it will be possible
to backtrace to the declaration of the aspects.

2012/8/26 Rasmus Schultz <ras...@mindplay.dk>

> >
> > On Thu, Aug 23, 2012 at 7:36 AM, Peter Nguyen <pe...@likipe.se> wrote:
> > I know very little about AOP and don't pretend to know a lot, but how
> > would we benefit
> > from directly adding it into core instead of taking the approach FLOW3
> did?
>
>
> as I see it, the problem with AOP in PHP is the same as with any other
> technique that requires code-generation, in some form or another,
> including code-manipulation, pre-processing, transpilers, and so
> forth: traceability of errors.
>
> languages that are popular as intermediary languages generally support a
> directive that makes it possible to trace errors back to their source.
>
> I raised this issue on the list recently, and no one seemed to react with
> any interest...
>

Reply via email to