Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flock LOCK_SH, LOCK_EX, LOCK_UN options are exclusive #18281

Open
mvorisek opened this issue Apr 8, 2025 · 1 comment
Open

flock LOCK_SH, LOCK_EX, LOCK_UN options are exclusive #18281

mvorisek opened this issue Apr 8, 2025 · 1 comment

Comments

@mvorisek
Copy link
Contributor

mvorisek commented Apr 8, 2025

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.

@TimWolla
Copy link
Member

TimWolla commented Apr 8, 2025

Related: https://externals.io/message/126706

@devnexen devnexen self-assigned this Apr 12, 2025
devnexen added a commit to devnexen/php-src that referenced this issue Apr 12, 2025
proposing a standard way to detect bitwise values through a new Zend
entry.
devnexen added a commit to devnexen/php-src that referenced this issue Apr 12, 2025
proposing a standard way to detect bitwise values through a new Zend
entry.
devnexen added a commit to devnexen/php-src that referenced this issue Apr 12, 2025
devnexen added a commit to devnexen/php-src that referenced this issue Apr 12, 2025
devnexen added a commit to devnexen/php-src that referenced this issue Apr 12, 2025
devnexen added a commit to devnexen/php-src that referenced this issue Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants