[xdebug-dev] xdebug xdebug/xdebug_code_coverage.c - Ignore ZEND_ADD_INTERFACE, which is on a different line in PHP >= 5.3 for

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Thu, 20 Mar 2008 17:51:09 +0100

Date: Thu Mar 20 17:51:09 CET 2008
User: Derick Rethans
Directory: xdebug

Log Message:
[0.25]
- Ignore ZEND_ADD_INTERFACE, which is on a different line in PHP >= 5.3 for
  some weird reason.

Modified files:
           xdebug/xdebug_code_coverage.c (version: 1.43)

[FILE: /xdebug/xdebug_code_coverage.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- xdebug/xdebug_code_coverage.c:1.42 Wed Feb 13 13:57:00 2008 GMT
+++ xdebug/xdebug_code_coverage.c Thu Mar 20 15:51:09 2008 GMT
@@ -92,6 +92,7 @@
 #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);
Received on Thu Mar 20 2008 - 17:51:14 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST