View Issue Details

IDProjectCategoryView StatusLast Update
0001343XdebugUncategorizedpublic2016-12-04 18:33
ReporterDimICE Assigned Toderick  
PriorityimmediateSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Platformx64OSWindowsOS Version10
Product Version2.4.1 
Fixed in Version2.5.0 
Summary0001343: var_dump with large keys in arrays display as negative numbers
Description

Without xdebug:
array(1) {
[730022509303030]=>
string(4) "test"
}

With xdebug:
array (size=1)
-1671932682 => string 'test' (length=4)

Steps To Reproduce

Test script:
<?php
$ar = array();
$id = (int)730022509303030;
$ar[$id] = "test";
var_dump($id);
var_dump($ar);
?>

TagsNo tags attached.
Operating SystemWindows 10 x64
PHP Version7.0.5-7.0.9

Activities

derick

2016-11-16 21:07

administrator   ~0003751

Fixed in Git, for Xdebug 2.5.0RC2.

Issue History

Date Modified Username Field Change
2016-09-01 09:47 DimICE New Issue
2016-11-16 21:07 derick Note Added: 0003751
2016-11-16 21:07 derick Status new => resolved
2016-11-16 21:07 derick Fixed in Version => 2.5.0RC2
2016-11-16 21:07 derick Resolution open => fixed
2016-11-16 21:07 derick Assigned To => derick
2016-12-04 17:42 derick Summary Wrong large keys in arrays. => var_dump with large keys in arrays display as negative numbers
2016-12-04 18:32 derick Status resolved => closed
2016-12-04 18:33 derick Fixed in Version 2.5.0RC2 => 2.5.0
2020-03-12 16:35 derick Category Usage problems (Wrong Results) => Variable Display
2020-03-12 16:38 derick Category Variable Display => Uncategorized