[xdebug-general] Re: Executed lines missing from coverage

From: Derick Rethans <derick[@]xdebug.org>
Date: Thu, 24 Apr 2008 09:05:17 +0200 (CEST)

On Wed, 23 Apr 2008, Darien Hager wrote:

> Hrm... I believe that the PHP engine, before XDebug ever becomes involved,
> parses multi-line arrays so that everything appears to happen on the last
> line.

No, it doesn't do that. Each element addition generates code, but not an
array( bit.

> Although in that case I don't know how it's marking all lines but the first
> as executed as well. Off-by-one bug somewhere, maybe?
> See also: "[xdebug-general] Multiline array declaration"

Ps. Could you please follow the quoting guidelines as lined out on the
next URL on this list please? See:


Like Xdebug? Send a postcard: http://derickrethans.nl/xdebug_2_released.php
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
Received on Thu Apr 24 2008 - 09:05:18 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST