fflush

PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8
fflush - Flushes the output to a file
Manual
Code Examples

Example #1 File write example using fflush

PHP Version: