We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efb6560 commit 66a4ea4Copy full SHA for 66a4ea4
1 file changed
ext/sockets/sockets.c
@@ -2331,10 +2331,10 @@ PHP_FUNCTION(socket_set_option)
2331
2332
#if defined(TCP_USER_TIMEOUT)
2333
case TCP_USER_TIMEOUT: {
2334
- zval timeout = zval_get_long(arg4);
+ zend_long timeout = zval_get_long(arg4);
2335
2336
// TCP_USER_TIMEOUT unsigned int
2337
- if (ZEND_LONG_UINT_OVFL(ov)) {
+ if (ZEND_LONG_UINT_OVFL(timeout)) {
2338
zend_argument_value_error(4, "must be of between 0 and %u", UINT_MAX);
2339
RETURN_THROWS();
2340
}
0 commit comments