ccampbell/chromephp

Associative array is shown as "Object", while simple array is shown as "Array"

Opened this issue · 1 comments

// Simple array shows up in console as "Array"
$arr = array('a','b','c');

// Associative array shows up in console as "Object"
$assoc = array('a' => 100, 'b' => 200, 'c' => 300);

It would be nice if the associative array would be shown as an array.

I think that's because the console expects JS, and the only way to represent PHP assoc. arrays in JS are objects.