Home
last modified time | relevance | path

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

/PHP-8.3/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);
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"
/PHP-8.3/ext/sockets/
H A Dsockets.c1670 add_assoc_long(return_value, "l_onoff", linger_val.l_onoff);
1808 zval *l_onoff, *l_linger; local
1873 if ((l_onoff = zend_hash_str_find(opt_ht, l_onoff_key, sizeof(l_onoff_key) - 1)) == NULL) {
1882 convert_to_long(l_onoff);
1885 lv.l_onoff = (unsigned short)Z_LVAL_P(l_onoff);

Completed in 12 milliseconds