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

Why hasn't the bug been fixed for decades? #82

Open
geheimniswelten opened this issue Mar 28, 2022 · 1 comment
Open

Why hasn't the bug been fixed for decades? #82

geheimniswelten opened this issue Mar 28, 2022 · 1 comment
Labels
question Further information is requested

Comments

@geheimniswelten
Copy link

From manual page: https://php.net/function.ob-get-clean


ob_get_clean ends the buffer and not just deletes the content.
so it does the same thing as ob_end_clean.

  • Please fix this junk
  • or finally write the documentation correctly
@cmb69
Copy link
Member

cmb69 commented Mar 29, 2022

The description looks pretty clear to me:

Gets the current buffer contents and delete current output buffer.

ob_get_clean() essentially executes both ob_get_contents() and ob_end_clean().

So where's the problem?

@cmb69 cmb69 added the question Further information is requested label Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants