The return value of the output handler is internally coerced into a string following standard PHP type semantics, with two exceptions: array s and bool eans.
Arrays are converted into the string
"Array"
but the
Array to string conversion
warning
is not trigguered.
If the handler returns
false
the contens of the buffer are returned.
If the handler returns
true
an empty string is returned.
Note : If a handler returns
falseor throws an exception itsPHP_OUTPUT_HANDLER_DISABLEDstatus flag is set.