Skip to content

Commit b751c24

Browse files
committed
Fix argument index in stream_select()
Closes GH-7067.
1 parent ddb550f commit b751c24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/streamsfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ PHP_FUNCTION(stream_select)
794794
zend_argument_value_error(4, "must be greater than or equal to 0");
795795
RETURN_THROWS();
796796
} else if (usec < 0) {
797-
zend_argument_value_error(4, "must be greater than or equal to 0");
797+
zend_argument_value_error(5, "must be greater than or equal to 0");
798798
RETURN_THROWS();
799799
}
800800

0 commit comments

Comments
 (0)