<?php stream_socket_enable_crypto( resource $stream, bool $enable, ?int $crypto_method = null, ?resource $session_stream = null): int|bool
<?php } }); $result = \stream_socket_enable_crypto($socket, $toggle, $method); \restore_error_handler();