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

From: <xdebug-dev[@]lists.xdebug.org>
Date: Sun, 16 Oct 2005 00:54:56 +0200

The following NEW bug has been ADDED.
======================================================================
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: new
Operating System: Linux linus 2.6.11-1-686
PHP Version: 4.3.10
Xdebug Version: 2.0-dev
======================================================================
Date Submitted: 2005-10-16 00:54 CEST
Last Modified: 2005-10-16 00:54 CEST
======================================================================
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.

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

Bug History
Date Modified Username Field Change
======================================================================
2005-10-16 00:54mccabe New Bug
2005-10-16 00:54mccabe Bug Monitored: mccabe
======================================================================
Received on Sun Oct 16 2005 - 00:54:59 BST

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