[xdebug-dev] Bug 0000121: working with arrays getProperty -n $r[2] -k 2 returns whole hash

From: <xdebug-dev[@]lists.xdebug.org>
Date: Tue, 17 Jan 2006 23:20:42 +0100

The following bug has been CLOSED
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000121
======================================================================
Reporter: kor_wand
Handler:
======================================================================
Project: Xdebug
Bug ID: 121
Category: Usage problems
Reproducibility: always
Severity: major
Priority: normal
Status: closed
Operating System:
PHP Version: 5.0.2
Xdebug Version: 2.0-dev
======================================================================
Date Submitted: 2005-03-10 22:39 CET
Last Modified: 2006-01-17 23:20 CET
======================================================================
Summary: working with arrays getProperty -n $r[2] -k 2 returns whole hash
Description:
http://dev.trustudio.org/cgi-bin/bugzilla/show_bug.cgi?id=1139

print "ass";
        hello();
        $z=4;
        $r[2]="As";
        $r[3]=5;
        $r[4][5]="eee";
        $r[7]=new M;
        $r[4][5][4][5]="eee";
        print $z;

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

----------------------------------------------------------------------
 derick - 2006-01-17 23:20 CET
----------------------------------------------------------------------
Fixed in CVS - but please note that the -k option is an optional one, and
is not used by Xdebug (it is not required to do so), simply:
property_get -n $r[2]
will work now.

Bug History
Date Modified Username Field Change
======================================================================
2005-03-10 22:39kor_wand New Bug
2005-03-10 22:39kor_wand Bug Monitored: kor_wand
2006-01-17 23:20derick Bugnote Added: 0000344
2006-01-17 23:20derick Status new => closed
======================================================================
Received on Tue Jan 17 2006 - 23:20:47 GMT

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