phpspy icon indicating copy to clipboard operation
phpspy copied to clipboard

Make extensible

Open adsr opened this issue 6 years ago • 0 comments

This was @krakjoe 's idea.

I think we have a head start on this as the tracing code is already decoupled with the event handling code. See:

https://github.com/adsr/phpspy/blob/e9927c8e7a8cdf6763d163bfaa60cec313cb37c0/phpspy.c#L262

https://github.com/adsr/phpspy/blob/e9927c8e7a8cdf6763d163bfaa60cec313cb37c0/event_fout.c#L12

Maybe we write an event_lua.c that is end-user scriptable?

adsr avatar Feb 27 '19 16:02 adsr