Just a regular function, which yields things (but can return them sometimes as well).
Streaming a large video file from your Symfony application is an interesting problem. We need to be able to serve data to the client continuously, as well as make sure memory footprint on server is not causing issues. Let’s take a look at a simple approach to solving this.
One of those weird function calls we see when reading internal code for majority of frameworks.
ob_end_flush() may have caused some confusion, but no more. The thing is fairly straightforward.
Interesting nugget of PHP behaviour I was not aware of. Check it out.
Xdebug 3 has some major differences in configuration, when compared to older versions. I’m showing how to set it up on your dockerized environment.