Skip to content

Commit

Permalink
Fix argument index in stream_select()
Browse files Browse the repository at this point in the history
Closes GH-7067.
  • Loading branch information
twose committed May 28, 2021
1 parent ddb550f commit b751c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/standard/streamsfuncs.c
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ PHP_FUNCTION(stream_select)
zend_argument_value_error(4, "must be greater than or equal to 0");
RETURN_THROWS();
} else if (usec < 0) {
zend_argument_value_error(4, "must be greater than or equal to 0");
zend_argument_value_error(5, "must be greater than or equal to 0");
RETURN_THROWS();
}

Expand Down

0 comments on commit b751c24

Please sign in to comment.