Searched refs:l_onoff (Results 1 – 3 of 3) sorted by relevance
/php-src/ext/sockets/tests/ |
H A D | socket_set_option_seolinger.phpt | 24 $options = array("l_onoff" => 1, "l_linger" => 1); 29 $options_2 = array("l_onoff" => 1); 38 // value of l_onoff is not always 1, Darwin returns 128 39 var_dump((bool)$retval_3["l_onoff"] === (bool)$options["l_onoff"]); 44 socket_set_option(): Argument #4 ($value) must have key "l_onoff"
|
H A D | socket_set_option_timeo_error.phpt | 13 $options_3 = array("l_onoff" => "aaaa", "l_linger" => "1"); 14 $options_4 = array("l_onoff" => "1", "l_linger" => []); 15 $options_5 = array("l_onoff" => PHP_INT_MAX, "l_linger" => "1"); 66 socket_set_option(): Argument #4 ($value) "l_onoff" must be between 0 and %d
|
/php-src/ext/sockets/ |
H A D | sockets.c | 1748 add_assoc_long(return_value, "l_onoff", linger_val.l_onoff); 1882 zval *l_onoff, *l_linger; local 1982 if ((l_onoff = zend_hash_str_find(opt_ht, l_onoff_key, sizeof(l_onoff_key) - 1)) == NULL) { 1991 zend_long val_lonoff = zval_get_long(l_onoff); 2004 lv.l_onoff = (unsigned short)val_lonoff;
|
Completed in 29 milliseconds