Closed
Description
Description
The following code:
<?php
$gz = gzopen($cachefileb,'w9');
gzwrite($gz, $towrite);
gzclose($gz);
Resulted in this output:
Current function caused disk error while multiple sessions is writing to the same file.
But I expected this output instead:
can the file be locked while the file is being written?
### PHP Version
PHP 7.4
### Operating System
Almalinux