session.hash_function supports ext/hash algos in php 6

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@227526 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Nuno Lopes 2007-01-18 16:40:54 +00:00
parent 9ca324c96e
commit 49e22d5bda

View file

@ -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.