diff --git a/reference/stream/functions/stream-socket-enable-crypto.xml b/reference/stream/functions/stream-socket-enable-crypto.xml index 14cc3be4ab..4ea1836cc9 100644 --- a/reference/stream/functions/stream-socket-enable-crypto.xml +++ b/reference/stream/functions/stream-socket-enable-crypto.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <refentry id="function.stream-socket-enable-crypto"> <refnamediv> <refname>stream_socket_enable_crypto</refname> @@ -10,7 +10,7 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>resource</type><methodname>stream_socket_enable_crypto</methodname> + <type>mixed</type><methodname>stream_socket_enable_crypto</methodname> <methodparam><type>resource</type><parameter>stream</parameter></methodparam> <methodparam><type>bool</type><parameter>enable</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>crypto_type</parameter></methodparam> @@ -50,7 +50,9 @@ </simpara> <simpara> - &return.success; + Returns &true; on success, &false; if negotiation has failed or + <literal>0</literal> if there isn't enough data and you should try again + (only for non-blocking sockets). </simpara> <example>