Skip to content

flock LOCK_SH, LOCK_EX, LOCK_UN options are exclusive #18281

Open
@mvorisek

Description

@mvorisek

Description

related phpstan issue: phpstan/phpstan#12850

repro: https://3v4l.org/4eurQ

I would expect php to throw an exception when any of LOCK_SH, LOCK_EX, LOCK_UN option is combined in one call.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions