phpspy
phpspy copied to clipboard
Make extensible
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?