Skip to content

Commit 2389ac2

Browse files
committed
Merge branch 'PHP-8.0'
* PHP-8.0: Fix argument index in stream_select()
2 parents 787db3a + b751c24 commit 2389ac2

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
@@ -804,7 +804,7 @@ PHP_FUNCTION(stream_select)
804804
zend_argument_value_error(4, "must be greater than or equal to 0");
805805
RETURN_THROWS();
806806
} else if (usec < 0) {
807-
zend_argument_value_error(4, "must be greater than or equal to 0");
807+
zend_argument_value_error(5, "must be greater than or equal to 0");
808808
RETURN_THROWS();
809809
}
810810

0 commit comments

Comments
 (0)