Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove __proto__ property in objects logged in console #27

Closed
barbushin opened this issue Dec 1, 2013 · 5 comments
Closed

Remove __proto__ property in objects logged in console #27

barbushin opened this issue Dec 1, 2013 · 5 comments

Comments

@barbushin
Copy link
Owner

See http://stackoverflow.com/questions/11818091/hiding-the-proto-property-in-chromes-console

@barbushin
Copy link
Owner Author

Released in extension v3.0.11

@Chi-teck
Copy link
Contributor

Chi-teck commented Dec 5, 2013

What about array.length property? Is it also possible?

@barbushin
Copy link
Owner Author

@Chi-teck I don't see that .length property present in console.log. Do you?

@Chi-teck
Copy link
Contributor

Chi-teck commented Dec 5, 2013

It appears only in nested arrays.

  $array = [
    [1, 2, 3]
  ];
  PhpConsole\Connector::getInstance()
    ->getDebugDispatcher()
    ->dispatchDebug($array, 'array');

@barbushin
Copy link
Owner Author

See #29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants