You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It yields an ErrorException: ob_flush(): Failed to flush buffer. No buffer to flush. Apparently Laravel doesn't use output buffering? Setting a breakpoint on ob_start() with xdebug also doesn't trigger anything. Is it possible that the documentation here is wrong and Laravel relies on the output_buffering setting of php.ini and does not call ob_start() itself?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
The docs for Streamed Responses mention "Internally, Laravel utilizes PHP's output buffering functionality." (https://laravel.com/docs/11.x/responses#streamed-responses). However, when I use the code example:
It yields an ErrorException:
ob_flush(): Failed to flush buffer. No buffer to flush
. Apparently Laravel doesn't use output buffering? Setting a breakpoint onob_start()
with xdebug also doesn't trigger anything. Is it possible that the documentation here is wrong and Laravel relies on theoutput_buffering
setting of php.ini and does not callob_start()
itself?Beta Was this translation helpful? Give feedback.
All reactions