reference/mhash/book.xml
68c2c871505aadf983f16113c5b077b335ce8d76
...
...
@@ -1,9 +1,8 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<!-- Purpose: mathcrypto.crypto -->
4
-
<!-- Membership: bundled, external -->
5
3
6
4
<book xml:id="book.mhash" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
+
<?phpdoc extension-membership="bundled" ?>
7
6
<title>Mhash</title>
8
7

9
8
<!-- {{{ preface -->
...
...
@@ -15,18 +14,28 @@
15
14
message digests, message authentication codes, and more.
16
15
</para>
17
16
<para>
18
-
This is an interface to the mhash library. mhash supports a wide
17
+
This is an interface to the mhash library. Mhash supports a wide
19
18
variety of hash algorithms such as MD5, SHA1, GOST, and many
20
19
others. For a complete list of supported hashes, refer to the
21
-
documentation of mhash. The general rule is that you can access
22
-
the hash algorithm from PHP with MHASH_HASHNAME. For example, to
23
-
access TIGER you use the PHP constant MHASH_TIGER.
20
+
<link linkend="mhash.constants">constants page</link>. The general rule is that you can access
21
+
the hash algorithm from PHP with <constant>MHASH_hashname</constant>. For example, to
22
+
access TIGER you use the PHP constant <constant>MHASH_TIGER</constant>.
24
23
</para>
25
24
<note>
26
25
<para>
27
26
This extension is obsoleted by <link linkend="book.hash">Hash</link>.
28
27
</para>
29
28
</note>
29
+
<note>
30
+
<para>
31
+
As of PHP 7.0.0 the Mhash extension has been fully integrated into the <link
32
+
linkend="book.hash">Hash</link> extension. Therefore, it is no longer
33
+
possible to detect Mhash support with <function>extension_loaded</function>;
34
+
use <function>function_exists</function> instead. Furthermore, Mhash is no
35
+
longer reported by <function>get_loaded_extensions</function> and related
36
+
features.
37
+
</para>
38
+
</note>
30
39
</preface>
31
40
<!-- }}} -->
32
41
...
...
@@ -57,4 +66,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
57
66
vim: et tw=78 syn=sgml
58
67
vi: ts=1 sw=1
59
68
-->
60
-

61
69