PHP Generator

Just a regular function, which yields things (but can return them sometimes as well).

Stream large video file in Symfony

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.

Output buffering

One of those weird function calls we see when reading internal code for majority of frameworks. ob_start() and ob_end_flush() may have caused some confusion, but no more. The thing is fairly straightforward.

Set up Xdebug 3 in vscode

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.