On Wed, 23 Apr 2008, AjK wrote:
> > P.S.: It's interesting how line 8 seems to be an exception to the rule.
> > Does anything change if you rewrite line 16 to add some extra behavior? e.g
Line 8 has a variable fetch, the other mentioned lines don't.
> I've notice the construct works fine when the = array() is assigned to
> a variable. But not when "it floats" as part of a larger structure. I
> thought initially I had an off by 1 bug until I looked at the coverage
> array. It seems to only occur when an array is embedded in another
> array using that construct.
Yeah, this is "expected". The PHP Engine does not see anything
executable on lines 10-11, as the array() itself doesn't really do
anything. If you play a little bit around with vld
(http://derickrethans.nl/vld.php) you will see this. It's not something
that Xdebug can "fix" as it simply doesn't have the correct data
returned from PHP.
Derick
-- Like Xdebug? Send a postcard: http://derickrethans.nl/xdebug_2_released.php Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.orgReceived on Thu Apr 24 2008 - 09:02:49 BST
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST