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

Add __debugInfo() support #74

Open
velosipedist opened this issue Nov 20, 2014 · 1 comment
Open

Add __debugInfo() support #74

velosipedist opened this issue Nov 20, 2014 · 1 comment

Comments

@velosipedist
Copy link

PHP 5.6 introduced new magic method, __debugInfo().

I suppose, it should be respected when dumping object, covering 2 benefits:

  • full var_dump() functionality substitution
  • BC with PHP < 5.6, even better than var_dump() usage
@barbushin
Copy link
Owner

Agreed. I'll add handling __debugInfo in PhpConsole\Dumper soon.

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