View Issue Details

IDProjectCategoryView StatusLast Update
0000121XdebugUncategorizedpublic2006-01-17 23:20
Reporterkor_wand Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionopen 
Summary0000121: 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;

TagsNo tags attached.
Operating System
PHP Version5.0.2

Activities

derick

2006-01-17 23:20

administrator   ~0000344

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.

Issue History

Date Modified Username Field Change
2005-03-10 22:39 kor_wand New Issue
2006-01-17 23:20 derick Status new => closed
2006-01-17 23:20 derick Note Added: 0000344
2016-07-31 12:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 12:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)
2020-03-12 16:35 derick Category Usage problems (Wrong Results) => Variable Display
2020-03-12 16:38 derick Category Variable Display => Uncategorized