Home
last modified time | relevance | path

Searched refs:l_onoff (Results 1 – 2 of 2) sorted by relevance

/PHP-7.0/ext/sockets/tests/
H A Dsocket_set_option_seolinger.phpt24 $options = array("l_onoff" => 1, "l_linger" => 1);
29 $options_2 = array("l_onoff" => 1);
34 // value of l_onoff is not always 1, Darwin returns 128
35 var_dump((bool)$retval_3["l_onoff"] === (bool)$options["l_onoff"]);
41 Warning: socket_set_option(): no key "l_onoff" passed in optval in %s on line %d
/PHP-7.0/ext/sockets/
H A Dsockets.c1942 add_assoc_long(return_value, "l_onoff", linger_val.l_onoff);
2005 zval *l_onoff, *l_linger; local
2050 if ((l_onoff = zend_hash_str_find(opt_ht, l_onoff_key, sizeof(l_onoff_key) - 1)) == NULL) {
2059 convert_to_long_ex(l_onoff);
2062 lv.l_onoff = (unsigned short)Z_LVAL_P(l_onoff);

Completed in 9 milliseconds