- Notifications
You must be signed in to change notification settings - Fork 8k
Open
Description
Description
Problem
AFAIK one of things Observer API fixes is the old problem with overriding zend_execute_ex forces VM to go into stack execution mode.
Forgive me for I’m a newbie in the field but I see the zend_observer_fcall_handlers’s begin and end handlers as events fired independently; These handlers are given only a zend_execute_data with nothing (AFAICT) to be used as unique identifier.
Memory address of zend_execute_data being reused, hence not suitable either.
I need a way to match the data between begin and end handler for an invocation.
Requested Feature or guidance:
If zend_execute_data could have something like op_array.reserved[] but per-call or any unique property, it would solve the problem.