nlopess Thu Jan 18 16:40:54 2007 UTC
Modified files: /phpdoc/en/reference/session ini.xml Log: session.hash_function supports ext/hash algos in php 6 http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/session/ini.xml?r1=1.45&r2=1.46&diff_format=u Index: phpdoc/en/reference/session/ini.xml diff -u phpdoc/en/reference/session/ini.xml:1.45 phpdoc/en/reference/session/ini.xml:1.46 --- phpdoc/en/reference/session/ini.xml:1.45 Tue Dec 19 22:00:01 2006 +++ phpdoc/en/reference/session/ini.xml Thu Jan 18 16:40:54 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.45 $ --> +<!-- $Revision: 1.46 $ --> <section id="session.configuration"> &reftitle.runtime; &extension.runtime; @@ -627,7 +627,7 @@ <varlistentry id="ini.session.hash-function"> <term> <parameter>session.hash_function</parameter> - <type>integer</type> + <type>mixed</type> </term> <listitem> <simpara> @@ -635,6 +635,13 @@ algorithm used to generate the session IDs. '0' means MD5 (128 bits) and '1' means SHA-1 (160 bits). </simpara> + <para> + Since PHP 6.0.0 it is also possible to specify any of the algorithms + provided by the <link linkend="ref.hash">hash extension</link> (if it is + available), like <literal>sha512</literal> or + <literal>whirlpool</literal>. A complete list of supported algorithms can + be obtained with the <function>hash_algos</function> function. + </para> <note> <para> This was introduced in PHP 5.