PHP 8.5.0 Alpha 2 available for testing

Voting

: min(two, nine)?
(Example: nine)

The Note You're Voting On

alexander at mralexander dot ca
11 years ago
In case there is nothing output yet to the buffer and then implementing the ob_clean() a (soft) error notice would be generated such as the following:

Notice: ob_clean() [ref.outcontrol]: failed to delete buffer. No buffer to delete. in [file-path]

you could do a simple check with "ob_get_contents()" to make sure that there is anything in the buffer.

<< Back to user notes page

To Top