Lines Matching refs:socket_create_pair
2 Test parameter handling in socket_create_pair()
13 var_dump(socket_create_pair(AF_INET, null, null));
16 var_dump(socket_create_pair($domain, SOCK_STREAM, 0, $sockets));
18 var_dump(socket_create_pair(AF_INET, null, null, $sockets));
20 var_dump(socket_create_pair(31337, null, null, $sockets));
22 var_dump(socket_create_pair(AF_INET, 31337, 0, $sockets));
24 Warning: socket_create_pair() expects exactly 4 parameters, 3 given in %s on line %d
27 Warning: socket_create_pair() expects parameter 1 to be int, string given in %s on line %d
30 Warning: socket_create_pair(): unable to create socket pair [%d]: %s not supported in %s on line %d
33 Warning: socket_create_pair(): invalid socket domain [31337] specified for argument 1, assuming AF_…
35 Warning: socket_create_pair(): unable to create socket pair [%d]: %s not supported in %s on line %d
38 Warning: socket_create_pair(): invalid socket type [31337] specified for argument 2, assuming SOCK_…
40 Warning: socket_create_pair(): unable to create socket pair [%d]: %s not supported %s on line %d