AOP for dynamic analysis?
bonndan opened this issue · comments
Hi,
I saw you're into dynamic analysis which I find really interesting. Have you ever considered using an AOP library plus Reflection to obtain param and return types?
To be honest, it's just a naive idea. I can't even say if it's better or worse than xdebug performance-wise.
Hey @bonndan I actually spoke with someone about that before, but then didn't dig into any further. I haven't checked if the popular AOP libraries support PHP 7.
I think it might be worth looking into because it would probably be less of a hassle for the user than setting up XDebug.
Performance wise I think XDebug should be faster, it being C and all.
Thanks for the suggestion, I'll put it on my growing list of ideas.
I won't get around to doing this any time soon and haven't had any requests for this in the past 5 years so I'll close this for now.