Closed Polfo closed 9 years ago
Thanks for all your investment in this barbushin
$xx = [1,2]; PC::debug($xx, 'numeric'); $xx = [1=>1,'b'=>'b']; PC::debug($xx, 'associative');
is displayed as:
Object {1: "1", b: "b"} is confusing to me, I would expect something consistent with the first display like [1: "1", "b": "b"]
Object {1: "1", b: "b"}
[1: "1", "b": "b"]
Maybe it is not possible due to a conversion to javascript, but then it would be nice if it was documented.
There is no way to fix it. It's default behavior of JavaScript console.log() method.
console.log()
Thanks for all your investment in this barbushin
is displayed as:
Object {1: "1", b: "b"}
is confusing to me, I would expect something consistent with the first display like[1: "1", "b": "b"]
Maybe it is not possible due to a conversion to javascript, but then it would be nice if it was documented.