mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
fix typo (see #35900)
This commit is contained in:
parent
6937e71720
commit
acf25d1aac
1 changed files with 1 additions and 1 deletions
|
@ -759,7 +759,7 @@ PHP_FUNCTION(stream_select)
|
|||
if (sec != NULL) {
|
||||
convert_to_long(sec);
|
||||
|
||||
if (sec < 0) {
|
||||
if (Z_LVAL_P(sec) < 0) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "The seconds parameter must be greater than 0.");
|
||||
RETURN_FALSE;
|
||||
} else if (usec < 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue