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

From: <xdebug-dev[@]lists.xdebug.org>
Date: Fri, 30 Dec 2005 14:42:06 +0100

The following bug requires your FEEDBACK.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000155
======================================================================
Reporter: mccabe
Handler:
======================================================================
Project: Xdebug
Bug ID: 155
Category: Usage problems
Reproducibility: always
Severity: major
Priority: normal
Status: feedback
Operating System: Linux linus 2.6.11-1-686
PHP Version: 4.3.11
Xdebug Version: 2.0.0beta2
======================================================================
Date Submitted: 2005-10-16 00:54 CEST
Last Modified: 2005-12-30 14:42 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)?

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
======================================================================
Received on Fri Dec 30 2005 - 14:42:08 GMT

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