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

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

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

Log Message:
[0.25]
- MFH: 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.32.2.10)

[FILE: /xdebug/xdebug_code_coverage.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.32.2.9
retrieving revision 1.32.2.10
diff -u -r1.32.2.9 -r1.32.2.10
--- xdebug/xdebug_code_coverage.c:1.32.2.9 Wed Feb 13 13:57:30 2008 GMT
+++ xdebug/xdebug_code_coverage.c Thu Mar 20 15:51:20 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:21 GMT

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