[xdebug-dev] Bug 0000155: Cannot watch array elements

From: <xdebug-dev[@]lists.xdebug.org>
Date: Tue, 17 Jan 2006 21:29:34 +0100

The following bug has been RESOLVED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000155
======================================================================
Reporter: mccabe
Handler: derick
======================================================================
Project: Xdebug
Bug ID: 155
Category: Usage problems
Reproducibility: always
Severity: major
Priority: normal
Status: resolved
Operating System: Linux linus 2.6.11-1-686
PHP Version: 4.3.11
Xdebug Version: 2.0.0beta2
Resolution: unable to duplicate
======================================================================
Date Submitted: 2005-10-16 00:54 CEST
Last Modified: 2006-01-17 21:29 CET
======================================================================
Summary: Cannot watch array elements
Description:
in php, i have an array like:

     $a = array();
     $a['test'] = 'test';
     $a[1] = 'xxx';

I can watch $a, but if I request the value of $a[1] I get the full array
in response, same if I request $a["test"].

If I reqest $a['test'] I get a crash.

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

----------------------------------------------------------------------
 derick - 2005-12-30 14:42 CET
----------------------------------------------------------------------
Can you try this with 2.0.0beta4 (from pecl.php.net/xdebug)?

----------------------------------------------------------------------
 derick - 2006-01-17 21:29 CET
----------------------------------------------------------------------
I can not reproduce this, nor did I receive any feedback for my last
comment.

Bug History
Date Modified Username Field Change
======================================================================
2005-10-16 00:54mccabe New Bug
2005-10-16 00:54mccabe Bug Monitored: mccabe
2005-12-30 14:42derick Bugnote Added: 0000318
2005-12-30 14:42derick PHP Version 4.3.10 => 4.3.11
2005-12-30 14:42derick Status new => feedback
2005-12-30 14:42derick Xdebug Version 2.0-dev => 2.0.0beta2
2006-01-17 21:29derick Bugnote Added: 0000339
2006-01-17 21:29derick Assigned To => derick
2006-01-17 21:29derick Resolution open => unable to duplicate
2006-01-17 21:29derick Status feedback => resolved
======================================================================
Received on Tue Jan 17 2006 - 21:29:36 GMT

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