View Issue Details

IDProjectCategoryView StatusLast Update
0001759XdebugCode Coveragepublic2020-03-10 11:33
Reporterderick Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version2.9.2 
Target Version2.9.3Fixed in Version2.9.3 
Summary0001759: User registered opcode handlers should call ones already set by other extensions
Description

Xdebug registers opcode handlers for code coverage, exit, and tracing. These currently return 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 https://github.com/nikic/scalar_objects) 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.

Steps To Reproduce

Also reported for https://github.com/nikic/scalar_objects at https://github.com/nikic/scalar_objects/issues/40

TagsNo tags attached.
Operating System
PHP Version7.4.0-7.4.4

Activities

There are no notes attached to this issue.