File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1881,8 +1881,6 @@ PHP_FUNCTION(socket_set_option)
18811881 zend_long level , optname ;
18821882 void * opt_ptr ;
18831883 HashTable * opt_ht ;
1884- zval * l_onoff , * l_linger ;
1885- zval * sec , * usec ;
18861884
18871885 ZEND_PARSE_PARAMETERS_START (4 , 4 )
18881886 Z_PARAM_OBJECT_OF_CLASS (arg1 , socket_ce )
@@ -1969,6 +1967,7 @@ PHP_FUNCTION(socket_set_option)
19691967 case SO_LINGER : {
19701968 const char l_onoff_key [] = "l_onoff" ;
19711969 const char l_linger_key [] = "l_linger" ;
1970+ zval * l_onoff , * l_linger ;
19721971
19731972 if (Z_TYPE_P (arg4 ) != IS_ARRAY ) {
19741973 if (UNEXPECTED (Z_TYPE_P (arg4 ) != IS_OBJECT )) {
@@ -2015,6 +2014,7 @@ PHP_FUNCTION(socket_set_option)
20152014 case SO_SNDTIMEO : {
20162015 const char sec_key [] = "sec" ;
20172016 const char usec_key [] = "usec" ;
2017+ zval * sec , * usec ;
20182018
20192019 if (Z_TYPE_P (arg4 ) != IS_ARRAY ) {
20202020 if (UNEXPECTED (Z_TYPE_P (arg4 ) != IS_OBJECT )) {
You can’t perform that action at this time.
0 commit comments