We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3948388 commit 6df80dfCopy full SHA for 6df80df
2 files changed
ext/posix/posix.c
@@ -624,7 +624,7 @@ PHP_FUNCTION(posix_mkfifo)
624
if (mode < 0 || (mode & ~07777)) {
625
zend_argument_value_error(
626
2,
627
- "must be between 0 and 07777"
+ "must be between 0 and 0o7777"
628
);
629
RETURN_THROWS();
630
}
ext/posix/tests/posix_mkfifo_invalid_mode.phpt
@@ -31,6 +31,6 @@ try {
31
32
?>
33
--EXPECTF--
34
-posix_mkfifo(): Argument #2 ($permissions) must be between 0 and 07777
35
36
+posix_mkfifo(): Argument #2 ($permissions) must be between 0 and 0o7777
0 commit comments