feat: implement flush() (#90)

* feat: implement flush()

* add tests
This commit is contained in:
Kévin Dunglas
2022-11-09 00:56:00 +01:00
committed by GitHub
parent 0a30dd1cb9
commit 8e136d0d25
5 changed files with 73 additions and 2 deletions

11
testdata/flush.php vendored Normal file
View File

@@ -0,0 +1,11 @@
<?php
require_once __DIR__.'/_executor.php';
return function () {
echo 'He';
flush();
echo 'llo '.($_GET['i'] ?? '');
};