Skip to content

Commit

Permalink
Fixed #1444: Code Coverage misses a variable in a multi-line function…
Browse files Browse the repository at this point in the history
… call
  • Loading branch information
derickr committed May 28, 2017
1 parent 0392847 commit 257e299
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xdebug.c
Expand Up @@ -769,6 +769,7 @@ PHP_MINIT_FUNCTION(xdebug)
XDEBUG_SET_OPCODE_OVERRIDE_COMMON(ZEND_SEND_VAL);
#if PHP_VERSION_ID >= 70000
XDEBUG_SET_OPCODE_OVERRIDE_COMMON(ZEND_SEND_VAL_EX);
XDEBUG_SET_OPCODE_OVERRIDE_COMMON(ZEND_SEND_VAR_EX);
#endif
XDEBUG_SET_OPCODE_OVERRIDE_COMMON(ZEND_NEW);
XDEBUG_SET_OPCODE_OVERRIDE_COMMON(ZEND_EXT_FCALL_BEGIN);
Expand Down Expand Up @@ -948,6 +949,7 @@ PHP_MSHUTDOWN_FUNCTION(xdebug)
zend_set_user_opcode_handler(ZEND_SEND_VAL, NULL);
#if PHP_VERSION_ID >= 70000
zend_set_user_opcode_handler(ZEND_SEND_VAL_EX, NULL);
zend_set_user_opcode_handler(ZEND_SEND_VAR_EX, NULL);
#endif
zend_set_user_opcode_handler(ZEND_NEW, NULL);
zend_set_user_opcode_handler(ZEND_EXT_FCALL_BEGIN, NULL);
Expand Down

0 comments on commit 257e299

Please sign in to comment.