View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000303 | Xdebug | Uncategorized | public | 2007-08-17 01:57 | 2007-08-17 15:35 |
Reporter | rudis | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | not fixable | ||
Summary | 0000303: Code coverage problem within array definition | ||||
Description | Hi, I know there have been some reports with code coverage problems but I don't know if this is also a problem of the Zend engine and you can't do anything about it or a bug in Xdebug. If I use the following code only the second line is marked as executed: $array = array( And the same is for any longer example like this: $array = array( Thanks for your help, | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 5.2.0 | ||||
|
I can, the following script: <?php $array = array( // 4 var_dump( xdebug_get_code_coverage() ); // 9 shows: array(1) { As you can see, line 4 is missing. With VLD I checked what PHP generates, and that is: line # op fetch ext return operands2 0 EXT_STMT As you can see, there is no code at all on line 4 for PHP. That means I can't fix it. |
Date Modified | Username | Field | Change |
---|---|---|---|
2007-08-17 01:57 | rudis | New Issue | |
2007-08-17 15:35 | derick | Status | new => resolved |
2007-08-17 15:35 | derick | Resolution | open => not fixable |
2007-08-17 15:35 | derick | Assigned To | => derick |
2007-08-17 15:35 | derick | Note Added: 0000716 | |
2016-07-31 12:36 | derick | Category | Usage problems => Usage problems (Crashes) |
2016-07-31 12:38 | derick | Category | Usage problems (Crashes) => Usage problems (Wrong Results) |
2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |