Skip to content

zlib streams should support locking #17668

Closed
Closed
@githubyiti

Description

@githubyiti

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

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions