Lines Matching refs:ctx
10 $ctx = stream_context_create(['ssl' => [
19 $server = stream_socket_server('tls://127.0.0.1:64321', $errno, $errstr, $flags, $ctx);
37 $ctx = stream_context_create(['ssl' => $ctxArr]);
38 $client = stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 1, $flags, $ctx);
39 $cert = stream_context_get_options($ctx)['ssl']['peer_certificate'];
43 $ctx = stream_context_create(['ssl' => $ctxArr]);
44 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 1, $flags, $ctx);
45 $cert = stream_context_get_options($ctx)['ssl']['peer_certificate'];
49 $ctx = stream_context_create(['ssl' => $ctxArr]);
50 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 1, $flags, $ctx);
51 $cert = stream_context_get_options($ctx)['ssl']['peer_certificate'];