Skip to content

Switch zend_print_zval_r to use smart_str #1554

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

Closed
wants to merge 1 commit into from

Conversation

nikic
Copy link
Member

@nikic nikic commented Oct 7, 2015

Instead of directly writing to stdout. This allows doing a print_r
into a string, without using output buffering.

The motivation for this is bug #67467: print_r() in return mode
will still dump the string to stdout (causing a potential information
leak) if a fatal error occurs).

Instead of directly writing to stdout. This allows doing a print_r
into a string, without using output buffering.

The motivation for this is bug #67467: print_r() in return mode
will still dump the string to stdout (causing a potential information
leak) if a fatal error occurs).
@jpauli
Copy link
Member

jpauli commented Mar 21, 2016

As you remove two exported symbols, and thus break internal API , I would have merged it against 7.1

@igorwwwwwwwwwwwwwwwwwwww

Would be great to get this merged.

@nikic
Copy link
Member Author

nikic commented Jun 13, 2016

Merged as 1b29e0c :)

@nikic nikic closed this Jun 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants