Permalink
Browse files

- Ignore ZEND_ADD_INTERFACE, which is on a different line in PHP >= 5…

….3 for

  some weird reason.

SVN Rev: 2709
  • Loading branch information...
1 parent e1bd24f commit 0e026cccc9e50de3591c588292296ef5ef9155fd @derickr committed Mar 20, 2008
Showing with 1 addition and 0 deletions.
  1. +1 −0 xdebug_code_coverage.c
View
@@ -92,6 +92,7 @@ static void prefill_from_opcode(char *fn, zend_op opcode, int deadcode TSRMLS_DC
#ifdef ZEND_ENGINE_2
&& opcode.opcode != ZEND_VERIFY_ABSTRACT_CLASS
&& opcode.opcode != ZEND_OP_DATA
+ && opcode.opcode != ZEND_ADD_INTERFACE
#endif
) {
xdebug_count_line(fn, opcode.lineno, 1, deadcode TSRMLS_CC);

0 comments on commit 0e026cc

Please sign in to comment.