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

Request: produce clean bin/php-parse output on stdout #605

Closed
cyrus-and opened this issue Apr 28, 2019 · 1 comment
Closed

Request: produce clean bin/php-parse output on stdout #605

cyrus-and opened this issue Apr 28, 2019 · 1 comment

Comments

@cyrus-and
Copy link
Contributor

That is, anything that is not the actual output should go to stderr. This would allow for example to do:

$ vendor/bin/php-parse -j test.php >test.json

Now instead test.json begins with:

====> File test.php:
==> JSON dump:

This is a trivial change but I'm not sure if you're interested. Also trivial would be to write a custom script, but since there's bin/php-parse already, it would be nice to just use it.

@nikic
Copy link
Owner

nikic commented Apr 28, 2019

Sound good to me :)

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

No branches or pull requests

2 participants