scalar_objects icon indicating copy to clipboard operation
scalar_objects copied to clipboard

User registered opcode handler should call ones already set by other extensions

Open derickr opened this issue 5 years ago • 1 comments

This extension registers an opcode handler. This handler currently returns the ZEND_USER_OPCODE_DISPATCH value which means that the Zend engine users its internal implementation to further handle that opcode. If however another extension (such as Xdebug) has also overridden the opcode, its handler will not be called.

Make sure to remember already set handlers, and then call these if they're not NULL, and otherwise continue returning ZEND_USER_OPCODE_DISPATCH.

derickr avatar Mar 07 '20 10:03 derickr

See also https://bugs.xdebug.org/1759

derickr avatar Mar 07 '20 10:03 derickr