[xdebug-dev] Bug 0000303: Code coverage problem within array definition

From: <noreply[@]lists.xdebug.org>
Date: Fri, 17 Aug 2007 02:57:58 +0200

The following NEW bug has been ADDED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000303
======================================================================
Reporter: rudis
Handler:
======================================================================
Project: Xdebug
Bug ID: 303
Category: Usage problems
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Operating System:
PHP Version: 5.2.0
Xdebug Version: 2.0.0
======================================================================
Date Submitted: 2007-08-17 02:57 CEST
Last Modified: 2007-08-17 02:57 CEST
======================================================================
Summary: 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(
  '1' => '2',
  '2' => '3'
  );

And the same is for any longer example like this:

$array = array(
  '1' => '2',
  '2' => '3',
  '3' => '4',
  '4' => '5'
  );

Thanks for your help,
Simon

======================================================================

Bug History
Date Modified Username Field Change
======================================================================
2007-08-17 02:57rudis New Bug
2007-08-17 02:57rudis Bug Monitored: rudis
======================================================================
Received on Fri Aug 17 2007 - 02:58:03 BST

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