eliashaeussler, German 🐘 #PHP testing tip:
🧪 If you need to test which headers were sent in a #PHP application (using the
header()
function), just enable @Xdebug and use thexdebug_get_headers()
function for comparison.💁♂️ See https://github.com/eliashaeussler/sse/blob/1.1.0/tests/src/Stream/Emitter/RealtimeEmitterTest.php#L51-L61 for a real world example.