We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99bf26b commit b3c259cCopy full SHA for b3c259c
3 files changed
NEWS
@@ -80,8 +80,6 @@ PHP NEWS
80
81
- Posix:
82
. Added validity check to the flags argument for posix_access(). (arshidkv12)
83
- . Added validity check to the permissions argument for posix_mkfifo().
84
- (arshidkv12)
85
86
- Reflection:
87
. Fixed bug GH-20217 (ReflectionClass::isIterable() incorrectly returns true
ext/posix/posix.c
@@ -621,11 +621,6 @@ PHP_FUNCTION(posix_mkfifo)
621
RETURN_FALSE;
622
}
623
624
- if (mode < 0 || (mode & ~07777)) {
625
- zend_argument_value_error(2, "must be between 0 and 0o7777");
626
- RETURN_THROWS();
627
- }
628
-
629
result = mkfifo(ZSTR_VAL(path), mode);
630
if (result < 0) {
631
POSIX_G(last_error) = errno;
ext/posix/tests/posix_mkfifo_invalid_mode.phpt
0 commit comments