Associative array is shown as "Object", while simple array is shown as "Array"
Opened this issue · 1 comments
skunkbad commented
// 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.
DanMan commented
I think that's because the console expects JS, and the only way to represent PHP assoc. arrays in JS are objects.