funcmap
funcmap copied to clipboard
Collect method call only once?
See how Joe did it: https://github.com/krakjoe/tombs/blob/1164fb2a5113503c43db49344e861a44974768b1/zend_tombs.c#L247:L258
He just saves some flag at execute data method meta and don't do same again on next method call.
But he uses zend_get_resource_handle which is for extensions and you are -- module.